aboutsummaryrefslogtreecommitdiffstats
path: root/flake
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-10-05 19:49:08 +0200
committerSilas Schöffel <sils@sils.li>2024-10-05 19:49:08 +0200
commit522a453a5052838075d066999f2ad29d522a2247 (patch)
tree2db9986b91b0dc475879705207e1639083b64e07 /flake
parenthyprland: remove neo keyboard layout (diff)
downloadnix-config-522a453a5052838075d066999f2ad29d522a2247.zip
various changes, needs rebase
Diffstat (limited to '')
-rw-r--r--flake.lock6
-rw-r--r--flake/default.nix13
-rw-r--r--flake/nixosConfigurations/default.nix3
3 files changed, 19 insertions, 3 deletions
diff --git a/flake.lock b/flake.lock
index 037be9f..bb8200c 100644
--- a/flake.lock
+++ b/flake.lock
@@ -210,6 +210,7 @@
"original": {
"owner": "ipetkov",
"repo": "crane",
+ "rev": "27025ab71bdca30e7ed0a16c88fd74c5970fc7f5",
"type": "github"
}
},
@@ -623,9 +624,9 @@
"type": "github"
},
"original": {
- "owner": "NixOS",
- "ref": "nixos-unstable-small",
+ "owner": "NixOs",
"repo": "nixpkgs",
+ "rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
"type": "github"
}
},
@@ -808,6 +809,7 @@
"original": {
"owner": "oxalica",
"repo": "rust-overlay",
+ "rev": "1d8fcbbfcfd3476c2665384a46ee9d07ef2b4dd9",
"type": "github"
}
},
diff --git a/flake/default.nix b/flake/default.nix
index 443999e..a0e3d57 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -50,5 +50,18 @@
};
flake = {
nixosConfigurations = import ./nixosConfigurations inputs;
+ homeConfigurations."silas" = inputs.home-manager.lib.homeManagerConfiguration {
+ pkgs = import inputs.nixpkgs {
+ system = "x86_64-linux";
+ overlays = [inputs.nixvim.overlays.default];
+ };
+ # Specify your home configuration modules here, for example,
+ # the path to your home.nix.
+ modules = [ ../hm/silas ];
+
+ # Optionally use extraSpecialArgs
+ # to pass through arguments to home.nix
+ extraSpecialArgs = inputs;
+ };
};
}
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index ca3c035..5e0e659 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -20,7 +20,7 @@
backupFileExtension = "backup";
useGlobalPkgs = true;
useUserPackages = true;
- users.sils = import ../../hm;
+ users.sils = import ../../hm/sils;
extraSpecialArgs = attrs;
};
}
@@ -50,6 +50,7 @@ in {
# ++ defaultModules;
#};
thinklappi = mkNixosHost "x86_64-linux" ../../hosts/thinklappi.nix;
+ schrotti = mkNixosHost "x86_64-linux" ../../hosts/schrotti.nix;
thinklappi-bootstrap = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;