diff options
author | sils <sils@sils.li> | 2023-06-25 11:44:10 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-06-25 11:46:02 +0200 |
commit | f972be9375e8ff82a6fbc3402ec47d4c8b611fcf (patch) | |
tree | 6ef9b8e034ba89985c31a410ab88382b2b5476f9 /flake.nix | |
parent | Fix(u/sils): Remove hyprland attribute (diff) | |
download | nix-config-f972be9375e8ff82a6fbc3402ec47d4c8b611fcf.zip |
Feat: Disable grades, as this would stop config from building.
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/flake.nix b/flake.nix index 23076c6..98b17de 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ # inputs {{{ inputs = { nixpkgs.url = "github:NixOs/nixpkgs/nixos-23.05"; + unstable.url = "github:NixOs/nixpkgs/nixos-unstable"; home-manager = { url = "github:nix-community/home-manager/release-23.05"; inputs.nixpkgs.follows = "nixpkgs"; @@ -72,14 +73,17 @@ flake-utils.follows = "flake-utils"; }; }; - grades = { - url = "git+https://codeberg.org/soispha/grades.git"; - inputs = { - nixpkgs.follows = "nixpkgs"; - crane.follows = "crane"; - flake-utils.follows = "flake-utils"; - rust-overlay.follows = "rust-overlay"; - }; + #grades = { + # url = "git+https://codeberg.org/soispha/grades.git"; + # inputs = { + # nixpkgs.follows = "unstable"; + # crane.follows = "crane"; + # flake-utils.follows = "flake-utils"; + # rust-overlay.follows = "rust-overlay"; + # }; + # }; + polymc = { + url = "github:PolyMC/PolyMC"; }; }; #}}} @@ -91,17 +95,19 @@ river_init_lesser, yambar_cpu, yambar_memory, - grades, + #grades, + polymc, ... } @ attrs: let system = "x86_64-linux"; pkgs = nixpkgs.legacyPackages."${system}"; - + sysLib = shell_library.lib.${system}; in { nixosConfigurations.thinklappi = nixpkgs.lib.nixosSystem { inherit system; specialArgs = attrs; +#nixpkgs.overlays = [ polymc.overlay ]; modules = [ ./hosts/thinklappi home-manager.nixosModules.home-manager @@ -110,7 +116,7 @@ useGlobalPkgs = true; useUserPackages = true; users.sils = import ./users/sils; - extraSpecialArgs = {inherit nixpkgs system sysLib river_init_lesser yambar_cpu yambar_memory grades;}; + extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory polymc;}; }; } ]; |