summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/desktop/akonadi.nix2
-rw-r--r--modules/motd.nix21
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";
};