diff options
author | Franck Cuny <franck@fcuny.net> | 2023-05-05 19:41:58 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-05-05 19:41:58 -0700 |
commit | 43da9edb4598eef509c481ae0b305384418c45de (patch) | |
tree | a0ad614c90102757143e026e4fe1806431a3dbf4 /hosts/aptos/home.nix | |
parent | profiles/default: users are immutable (diff) | |
download | world-43da9edb4598eef509c481ae0b305384418c45de.tar.gz |
home/profiles: move (almost) all modules to profiles
This is a major refactor, similar to what was done for the hosts, but in a single commit.
Diffstat (limited to '')
-rw-r--r-- | hosts/aptos/home.nix | 54 |
1 files changed, 7 insertions, 47 deletions
diff --git a/hosts/aptos/home.nix b/hosts/aptos/home.nix index 8341d8e..568e7ae 100644 --- a/hosts/aptos/home.nix +++ b/hosts/aptos/home.nix @@ -1,57 +1,17 @@ -{ ... }: { - my.home = { - wm.windowManager = "sway"; - - # default packages I want on all hosts - packages.enable = true; - - # desktop - evince.enable = true; - gtk.enable = true; - pcmanfm.enable = true; +{ self, ... }: { + imports = [ + "${self}/home/profiles/home.nix" + "${self}/home/profiles/workstation.nix" + "${self}/home/profiles/sway.nix" + ]; - # multimedia - bluetooth.enable = true; - eog.enable = true; - mpv.enable = true; - scanner.enable = true; - sublime-music.enable = true; - vlc.enable = true; - - # communication + my.home = { mail.enable = true; matrix-client.enable = true; - - # terminal - direnv.enable = true; - gcloud.enable = true; - shell.name = "zsh"; - ssh.enable = true; - terminal.program = "alacritty"; - terraform.enable = true; - tmux.enable = true; - xdg.enable = true; - - # software development - emacs.enable = true; - git.enable = true; - go.enable = true; - python.enable = true; - rust.enable = true; - - # web - firefox.enable = true; - transmission-remote.enable = true; - yt-dlp.enable = true; - - # security - age.enable = true; gpg = { enable = true; pinentry = "gnome3"; defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1"; }; - pass.enable = true; - yubikey.enable = true; }; } |