aboutsummaryrefslogtreecommitdiff
path: root/hosts/carmel/home.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-18 11:58:35 -0700
committerFranck Cuny <franck@fcuny.net>2023-04-03 17:53:02 -0700
commitc5a78751f96587bf4a3704143ac81598ee6c3e5b (patch)
treedaf41e9b05ade02118eaa08aabf9bac771e12c71 /hosts/carmel/home.nix
parentflake: fix URL for sendsms (diff)
downloadinfra-c5a78751f96587bf4a3704143ac81598ee6c3e5b.tar.gz
hosts/carmel: reconfigure the host as a router
I'm not using it as a desktop, and the current router is getting old and will likely fail in the near future. It's also a debian machine configured manually, so let's reconfigure carmel as our new router. There are three NICs in the host: 2 are 10Gb and one is 1Gb. The 1Gb will be used as the upstream interface, and one of the 10Gb will be for the LAN. There are 2 VLANs to configure: one for IoT devices and one for guest.
Diffstat (limited to '')
-rw-r--r--hosts/carmel/home.nix42
1 files changed, 1 insertions, 41 deletions
diff --git a/hosts/carmel/home.nix b/hosts/carmel/home.nix
index 4353abb..eb6c9ab 100644
--- a/hosts/carmel/home.nix
+++ b/hosts/carmel/home.nix
@@ -1,54 +1,14 @@
{ ... }: {
my.home = {
- 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;
-
- # 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;
- shell.name = "fish";
+ shell.name = "zsh";
ssh.enable = true;
- terminal.program = "alacritty";
tmux.enable = true;
- xdg.enable = true;
# software development
- emacs.enable = true;
git.enable = true;
- go.enable = true;
- python.enable = true;
-
- # web
- firefox.enable = true;
- transmission-remote.enable = true;
- yt-dlp.enable = true;
-
- # security
- gpg = {
- enable = true;
- pinentry = "gnome3";
- defaultKey = "23348B57F01D4234B5CFBA0923208AC01EB6EEA1";
- };
- pass.enable = true;
- seahorse.enable = true;
};
}