|
|
@@ -1,32 +1,5 @@
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
-let
|
|
|
- #user = "johron";
|
|
|
- #storageRoot = "/storage";
|
|
|
-
|
|
|
- #folders = [
|
|
|
- # "Applications"
|
|
|
- # "Documents"
|
|
|
- # "Downloads"
|
|
|
- # "Games"
|
|
|
- # "Machines"
|
|
|
- # "Music"
|
|
|
- # "Pictures"
|
|
|
- # "Projects"
|
|
|
- # "Scripts"
|
|
|
- # "Videos"
|
|
|
- # "Wineprefixes"
|
|
|
- #];
|
|
|
-
|
|
|
- #mkBindMount = folder: {
|
|
|
- # name = "/home/${user}/${folder}";
|
|
|
- # value = {
|
|
|
- # device = "${storageRoot}/${folder}";
|
|
|
- # options = [ "bind" "nofail" "x-systemd.automount" ];
|
|
|
- # depends = [ storageRoot ];
|
|
|
- # };
|
|
|
- #};
|
|
|
-in
|
|
|
{
|
|
|
imports = [
|
|
|
./networking.nix
|
|
|
@@ -46,9 +19,6 @@ in
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
- #fileSystems = lib.mkMerge [
|
|
|
- # (builtins.listToAttrs (map mkBindMount folders))
|
|
|
- #];
|
|
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|