diff options
Diffstat (limited to 'modules/motd.nix')
| -rw-r--r-- | modules/motd.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/modules/motd.nix b/modules/motd.nix index f9f572c..b91a23c 100644 --- a/modules/motd.nix +++ b/modules/motd.nix @@ -33,6 +33,21 @@ let fi $1 ''; + + filesystems = { + "omega-relay" = { + root = "/"; + }; + "apocalypse" = { + root = "/"; + store = "/store2"; + ntfs = "/win_games"; + }; + "_default" = { + root = "/"; + }; + }; + current_fses = filesystems.${config.networking.hostName} or filesystems."_default"; in { environment.systemPackages = with pkgs; [ @@ -65,11 +80,7 @@ in {one:.02} , {five:.02} , {fifteen:.02} ''; }; - filesystems = { - root = "/"; - store = "/store2"; - ntfs = "/win_games"; - }; + filesystems = current_fses; memory = { swap_pos = "beside"; }; |
