Updated file systems

This commit is contained in:
Serĉanto de Scio 2019-10-17 09:22:38 +10:00
parent 05c3919ac5
commit 56414230f8
Signed by: sercanto
GPG key ID: A4122FF3971B6865
2 changed files with 11 additions and 1 deletions

View file

@ -39,7 +39,7 @@
fsType = "ext4"; fsType = "ext4";
}; };
"/var" = { "/var" = {
device = "/dev/sda1"; device = "/dev/disk/by-label/var";
fsType = "ext4"; fsType = "ext4";
}; };
}; };

View file

@ -10,6 +10,16 @@
networking.hostName = "pi-tri"; # Define your hostname. networking.hostName = "pi-tri"; # Define your hostname.
# File systems unique to this host:
fileSystems = {
"/nix" = {
device = "/dev/disk/by-label/nix";
fsType = "ext4";
};
};
disk/by-label/
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnupg # GPL OpenPGP implementation gnupg # GPL OpenPGP implementation
nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps