Make nixfmt veery happy 🤗
This commit is contained in:
parent
3d7a3dd741
commit
0f509a7c8e
4 changed files with 9 additions and 3 deletions
|
@ -4,4 +4,4 @@ stages:
|
|||
nixfmt:
|
||||
stage: test
|
||||
image: nixery.dev/shell/git/nixfmt
|
||||
script: "nixfmt -c $(git ls-files *.nix)"
|
||||
script: "nixfmt -c $(git ls-files '*.nix')"
|
||||
|
|
|
@ -59,7 +59,10 @@
|
|||
# replicates the default behaviour.
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.eno1 = {
|
||||
ipv4.addresses = [ { address = "10.1.2.2"; prefixLength = 24; } ];
|
||||
ipv4.addresses = [{
|
||||
address = "10.1.2.2";
|
||||
prefixLength = 24;
|
||||
}];
|
||||
};
|
||||
networking.interfaces.wlp1s0.useDHCP = true;
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
smartmontools
|
||||
parted
|
||||
borgbackup
|
||||
nixfmt
|
||||
];
|
||||
|
||||
services.fwupd.enable = true;
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
echo 'cryptsetup-askpass' >> /root/.profile
|
||||
'';
|
||||
};
|
||||
boot.kernelParams = [ "ip=10.1.2.1::10.1.2.2:255.255.255.0:montalin:eth0:none:10.1.2.1" ]; # see https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
|
||||
boot.kernelParams = [
|
||||
"ip=10.1.2.1::10.1.2.2:255.255.255.0:montalin:eth0:none:10.1.2.1"
|
||||
]; # see https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
|
||||
|
||||
boot.initrd.postMountCommands = ''
|
||||
ip link set eth0 down
|
||||
|
|
Loading…
Add table
Reference in a new issue