new stable

This commit is contained in:
DACHXY 2024-12-29 14:14:12 +08:00
parent 9bc6a41617
commit f317b141f7
21 changed files with 179 additions and 61 deletions

View file

@ -3,9 +3,10 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
# nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager/release-24.11";
# home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-index-database.url = "github:nix-community/nix-index-database";
@ -20,7 +21,11 @@
};
# Not used yet due to some skill issue
hyprland.url = "github:hyprwm/Hyprland/main";
hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
submodules = true;
};
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
@ -32,11 +37,10 @@
};
outputs =
{ self, nixpkgs-unstable, nixpkgs, nix-index-database, ... }@inputs:
{ self, nixpkgs, nix-index-database, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgsUnstable = nixpkgs-unstable.legacyPackages.${system};
in
{
formatter.x86_64-linux =
@ -49,7 +53,6 @@
];
specialArgs = {
inherit inputs;
inherit pkgsUnstable;
inherit system;
};
};
@ -61,7 +64,6 @@
];
specialArgs = {
inherit inputs;
inherit pkgsUnstable;
inherit system;
};
};