indentation fix in hosts/main.nix

This commit is contained in:
Sebastian Moser
2023-10-31 10:47:28 +00:00
parent 5a0a6633ce
commit aed46e41db

View File

@@ -22,13 +22,14 @@
../users/me/home.nix
];
#home-manager.users.me = import ../users/me/home.nix;
# Setup keyfile
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
fileSystems."/home/me/work" =
{
fileSystems."/home/me/work" = {
#label = "work";
device = "/dev/disk/by-uuid/fd3c6393-b6fd-4065-baf9-5690eb6ebbed";
fsType = "btrfs";
@@ -73,20 +74,20 @@
};
security.polkit.enable = true;
networking.firewall.enable = true;
networking.firewall.allowPing = true;
services.samba.openFirewall = true;
security.polkit.enable = true;
networking.firewall.enable = true;
networking.firewall.allowPing = true;
services.samba.openFirewall = true;
# samba
services.samba-wsdd.enable = true; # make shares visible for windows 10 clients
networking.firewall.allowedTCPPorts = [
# samba
services.samba-wsdd.enable = true; # make shares visible for windows 10 clients
networking.firewall.allowedTCPPorts = [
5357 # wsdd
];
networking.firewall.allowedUDPPorts = [
];
networking.firewall.allowedUDPPorts = [
3702 # wsdd
];
services.samba = {
];
services.samba = {
enable = true;
securityType = "user";
extraConfig = ''
@@ -117,9 +118,7 @@ services.samba = {
writable = "yes";
};
};
};
###############
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -240,7 +239,6 @@ export PATH=$PATH:${confDir}/mybin
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
}