about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 09:17:44 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 09:34:38 -0700
commit1d532775ec5ef37a14fc2b7f7cad364759a91fe8 (patch)
tree213e830b304dd57f8f3882440213ec1b2e84f700
parentref(desktop): move all the modules for home-manager to host level (diff)
downloadworld-1d532775ec5ef37a14fc2b7f7cad364759a91fe8.tar.gz
ref(home): structure and add comments
Change-Id: I9abd49136df79a9ed040c9ec0e12eea30736c9ff
Reviewed-on: https://cl.fcuny.net/c/world/+/295
Reviewed-by: Franck Cuny <franck@fcuny.net>
-rw-r--r--hosts/aptos/home.nix49
-rw-r--r--hosts/carmel/home.nix49
-rw-r--r--hosts/tahoe/home.nix13
3 files changed, 75 insertions, 36 deletions
diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix
index 7788cd2..133c6ed 100644
--- a/hosts/aptos/home.nix
+++ b/hosts/aptos/home.nix
@@ -1,36 +1,51 @@
 { pkgs, ... }: {
   my.home = {
+    # default packages I want on all hosts
     packages.enable = true;
+
+    # desktop
+    evince.enable = true;
+    pcmanfm.enable = true;
+
+    # multimedia
     bluetooth.enable = true;
+    eog.enable = true;
+    mpv.enable = true;
+    scanner.enable = true;
+    sublime-music.enable = true;
+    vlc.enable = true;
+
+    # communication
     element.enable = true;
+    mail.enable = true;
+
+    # terminal
+    direnv.enable = true;
+    gcloud.enable = true;
+    ssh.enable = true;
+    terminal.program = "alacritty";
+    tmux.enable = true;
+    xdg.enable = true;
     zsh.enable = true;
+
+    # software development
+    emacs.enable = true;
     git.enable = true;
     go.enable = true;
     python.enable = true;
-    scanner.enable = true;
-    tmux.enable = true;
+
+    # web
+    firefox.enable = true;
+    transmission-remote.enable = true;
     yt-dlp.enable = true;
-    vlc.enable = true;
-    mpv.enable = true;
-    sublime-music.enable = true;
-    ssh.enable = true;
+
+    # security
     gpg = {
       enable = true;
       pinentry = "gnome3";
       defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1";
     };
-    gcloud.enable = true;
-    mail.enable = true;
     pass.enable = true;
     seahorse.enable = true;
-    emacs.enable = true;
-    direnv.enable = true;
-    firefox.enable = true;
-    pcmanfm.enable = true;
-    terminal.program = "alacritty";
-    xdg.enable = true;
-    eog.enable = true;
-    evince.enable = true;
-    transmission-remote.enable = true;
   };
 }
diff --git a/hosts/carmel/home.nix b/hosts/carmel/home.nix
index 7788cd2..133c6ed 100644
--- a/hosts/carmel/home.nix
+++ b/hosts/carmel/home.nix
@@ -1,36 +1,51 @@
 { pkgs, ... }: {
   my.home = {
+    # default packages I want on all hosts
     packages.enable = true;
+
+    # desktop
+    evince.enable = true;
+    pcmanfm.enable = true;
+
+    # multimedia
     bluetooth.enable = true;
+    eog.enable = true;
+    mpv.enable = true;
+    scanner.enable = true;
+    sublime-music.enable = true;
+    vlc.enable = true;
+
+    # communication
     element.enable = true;
+    mail.enable = true;
+
+    # terminal
+    direnv.enable = true;
+    gcloud.enable = true;
+    ssh.enable = true;
+    terminal.program = "alacritty";
+    tmux.enable = true;
+    xdg.enable = true;
     zsh.enable = true;
+
+    # software development
+    emacs.enable = true;
     git.enable = true;
     go.enable = true;
     python.enable = true;
-    scanner.enable = true;
-    tmux.enable = true;
+
+    # web
+    firefox.enable = true;
+    transmission-remote.enable = true;
     yt-dlp.enable = true;
-    vlc.enable = true;
-    mpv.enable = true;
-    sublime-music.enable = true;
-    ssh.enable = true;
+
+    # security
     gpg = {
       enable = true;
       pinentry = "gnome3";
       defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1";
     };
-    gcloud.enable = true;
-    mail.enable = true;
     pass.enable = true;
     seahorse.enable = true;
-    emacs.enable = true;
-    direnv.enable = true;
-    firefox.enable = true;
-    pcmanfm.enable = true;
-    terminal.program = "alacritty";
-    xdg.enable = true;
-    eog.enable = true;
-    evince.enable = true;
-    transmission-remote.enable = true;
   };
 }
diff --git a/hosts/tahoe/home.nix b/hosts/tahoe/home.nix
index 2e56275..dc9c0aa 100644
--- a/hosts/tahoe/home.nix
+++ b/hosts/tahoe/home.nix
@@ -2,16 +2,25 @@
 
 {
   my.home = {
-    packages = { enable = true; };
+    # default packages I want on all hosts
+    packages.enable = true;
+
+    # terminal
     tmux.enable = true;
-    git.enable = true;
     ssh.enable = true;
     zsh.enable = true;
+
+    # software development
+    git.enable = true;
+
+    # multimedia
     beets = {
       enable = true;
       musicDirectory = "/data/fast/music";
     };
     flac.enable = true;
+
+    # web
     yt-dlp.enable = true;
   };
 }