aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilas Schöffel <sils@sils.li>2024-10-29 22:21:55 +0100
committerSilas Schöffel <sils@sils.li>2024-10-29 22:32:26 +0100
commit2eaeaa9f92ab639a616df0a07a02dea262c38914 (patch)
treec6e7a84f1511f42498c0b74666f7ae2619ad29ca
parentnetworking: switch to networkmanager (diff)
downloadnix-config-2eaeaa9f92ab639a616df0a07a02dea262c38914.zip
hosts: add schrotti
-rw-r--r--flake/nixosConfigurations/default.nix1
-rw-r--r--hosts/schrotti.nix14
2 files changed, 15 insertions, 0 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index 10df045..694b228 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -52,6 +52,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;
diff --git a/hosts/schrotti.nix b/hosts/schrotti.nix
new file mode 100644
index 0000000..417b179
--- /dev/null
+++ b/hosts/schrotti.nix
@@ -0,0 +1,14 @@
+{...}: {
+ role.sils = "laptop-light";
+ sils = {
+ meta = {
+ bootPart = "/dev/disk/by-uuid/4064-2D6C";
+ globalDataDir = "/srv";
+ hostname = "schrotti";
+ mainDisk = "/dev/disk/by-uuid/68da1329-f5ea-4f2c-a38e-faffaaaa6b5a";
+ rootPart = "/dev/disk/by-uuid/6700d662-29a9-4ea5-8ca6-85d42550b3ab";
+ system = "x86_64-linux";
+ };
+ };
+ home-manager.backupFileExtension = "backup";
+}