diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-02-11 16:39:10 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2026-02-11 16:39:10 +0100 |
| commit | d0a6e83fbdb79db022d6f5058aec0854eeff6647 (patch) | |
| tree | ae16caf5329bec627a4b9dddb8ec56a3afd951da | |
| parent | 16b918c3576d1d9155e2164c84acd14f33d47c06 (diff) | |
Make the motd filesystems host-dependent
| -rw-r--r-- | modules/desktop/akonadi.nix | 2 | ||||
| -rw-r--r-- | modules/motd.nix | 21 |
2 files changed, 17 insertions, 6 deletions
diff --git a/modules/desktop/akonadi.nix b/modules/desktop/akonadi.nix index 2d9a250..5c357a8 100644 --- a/modules/desktop/akonadi.nix +++ b/modules/desktop/akonadi.nix @@ -1,6 +1,6 @@ { lib, config, ... }: { - # TODO Make into option + # TODO Make into option programs.kde-pim = lib.mkIf config.addons.desktop.enable { enable = true; kmail = true; 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"; }; |
