aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-06-25 11:44:10 +0200
committersils <sils@sils.li>2023-06-25 11:46:02 +0200
commitf972be9375e8ff82a6fbc3402ec47d4c8b611fcf (patch)
tree6ef9b8e034ba89985c31a410ab88382b2b5476f9 /flake.nix
parentFix(u/sils): Remove hyprland attribute (diff)
downloadnix-config-f972be9375e8ff82a6fbc3402ec47d4c8b611fcf.zip
Feat: Disable grades, as this would stop config from building.
Diffstat (limited to '')
-rw-r--r--flake.nix28
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;};
};
}
];