reformat all the nix files
using nix run -f channel:nixos-unstable nixfmt -c nixfmt $(git ls-files *.nix)
This commit is contained in:
parent
a7f51f92f1
commit
bf0be939cc
14 changed files with 312 additions and 312 deletions
|
@ -6,13 +6,15 @@
|
|||
|
||||
{
|
||||
|
||||
imports =
|
||||
[
|
||||
../hardware/nuc.nix
|
||||
../role/base
|
||||
../role/dropbear
|
||||
(import ../role/backup { systemdMount = "var-backup.mount"; borgArchiveFolder = "/var/backup/montalin";})
|
||||
];
|
||||
imports = [
|
||||
../hardware/nuc.nix
|
||||
../role/base
|
||||
../role/dropbear
|
||||
(import ../role/backup {
|
||||
systemdMount = "var-backup.mount";
|
||||
borgArchiveFolder = "/var/backup/montalin";
|
||||
})
|
||||
];
|
||||
|
||||
boot.initrd.luks.devices = {
|
||||
"root".device = "/dev/disk/by-uuid/3a0a5071-67ab-4e13-a0b7-d31b86f5e8b1";
|
||||
|
@ -21,9 +23,21 @@
|
|||
};
|
||||
|
||||
fileSystems = {
|
||||
"/" = { device = "/dev/mapper/root"; fsType = "btrfs"; options = [ "defaults" "noatime" ]; };
|
||||
"/var/backup" = { device = "/dev/mapper/backup"; fsType = "ext4"; options = [ "defaults" "noauto" "noatime" ]; };
|
||||
"/boot" = { device = "/dev/disk/by-uuid/0065-E4EA"; fsType = "vfat"; options = [ "defaults" "noatime" ]; };
|
||||
"/" = {
|
||||
device = "/dev/mapper/root";
|
||||
fsType = "btrfs";
|
||||
options = [ "defaults" "noatime" ];
|
||||
};
|
||||
"/var/backup" = {
|
||||
device = "/dev/mapper/backup";
|
||||
fsType = "ext4";
|
||||
options = [ "defaults" "noauto" "noatime" ];
|
||||
};
|
||||
"/boot" = {
|
||||
device = "/dev/disk/by-uuid/0065-E4EA";
|
||||
fsType = "vfat";
|
||||
options = [ "defaults" "noatime" ];
|
||||
};
|
||||
};
|
||||
|
||||
swapDevices = [{ device = "/dev/mapper/swap"; }];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue