diff options
| author | Mark Nipper <nipsy@bitgnome.net> | 2026-05-21 15:31:08 -0700 |
|---|---|---|
| committer | Mark Nipper <nipsy@bitgnome.net> | 2026-05-21 15:31:08 -0700 |
| commit | 7f73c9eee033fbc2febcdeb13d891439c8f792b8 (patch) | |
| tree | 4cb4700e8b205aa34653f0704e3c8bcc671d8a84 /home | |
| parent | fe73a9bd84601a6d1850654b7b0190fbfa11031b (diff) | |
| download | nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.tar nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.tar.gz nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.tar.bz2 nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.tar.lz nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.tar.xz nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.tar.zst nix-7f73c9eee033fbc2febcdeb13d891439c8f792b8.zip | |
Add prometheus
Diffstat (limited to 'home')
| -rw-r--r-- | home/nipsy/prometheus.nix | 6 | ||||
| -rw-r--r-- | home/root/prometheus.nix | 6 | ||||
| -rw-r--r-- | home/trent/prometheus.nix | 62 |
3 files changed, 74 insertions, 0 deletions
diff --git a/home/nipsy/prometheus.nix b/home/nipsy/prometheus.nix new file mode 100644 index 0000000..83c92cd --- /dev/null +++ b/home/nipsy/prometheus.nix @@ -0,0 +1,6 @@ +{ inputs, lib, pkgs, config, outputs, ... }: +{ + imports = [ + common/core + ]; +} diff --git a/home/root/prometheus.nix b/home/root/prometheus.nix new file mode 100644 index 0000000..83c92cd --- /dev/null +++ b/home/root/prometheus.nix @@ -0,0 +1,6 @@ +{ inputs, lib, pkgs, config, outputs, ... }: +{ + imports = [ + common/core + ]; +} diff --git a/home/trent/prometheus.nix b/home/trent/prometheus.nix new file mode 100644 index 0000000..591fdb4 --- /dev/null +++ b/home/trent/prometheus.nix @@ -0,0 +1,62 @@ +{ inputs, lib, pkgs, config, outputs, ... }: +{ + imports = [ + common/core + common/optional/desktops + common/optional/desktops/i3 + common/optional/desktops/services/xscreensaver.nix + #common/optional/desktops/sway + common/optional/desktops/xdg.nix + common/optional/secrets.nix + #inputs.sops-nix.homeManagerModules.sops + ]; + + home.file = { + ".mailcap".text = '' + #application/msword; antiword -rs '%s'; copiousoutput; description=Microsoft Word Document + application/pdf; pdftotext '%s' -; copiousoutput; description=Adobe Portable Document Format + #image/gif; asciiview -driver curses -dim -bold -reverse -normal -boldfont -extended -eight '%s'; description=GIF image + image/gif; sxiv '%s'; description=GIF image + #image/jpeg; asciiview -driver curses -dim -bold -reverse -normal -boldfont -extended -eight '%s'; description=JPEG image + image/jpeg; sxiv '%s'; description=JPEG image + image/png; sxiv '%s'; description=PNG image + text/html; elinks -dump %s; copiousoutput + #text/richtext; catdoc '%s'; copiousoutput; description=Microsoft Rich Text Format + ''; + ".mutt/aliases".source = ./arrakis/mutt/aliases; + ".mutt/colors".source = ./arrakis/mutt/colors; + ".mutt/headers".source = ./arrakis/mutt/headers; + ".mutt/keys".source = ./arrakis/mutt/keys; + ".mutt/muttrc".source = ./arrakis/mutt/muttrc; + "bin/knock".source = ../common/scripts/knock; + }; + + programs.zsh = { + shellAliases = { + manage = "tmux new-window ssh -A root@arrakis\\; split-window -d ssh -A root@darkstar\\; split-window -d ssh root@king\\; new-window ssh root@black-sheep\\; split-window -d ssh root@fangorn\\; split-window -d ssh root@treebeard\\; new-window ssh root@casey\\; split-window -d ssh root@homer\\; new-window ssh root@lilnasx\\; split-window -d ssh root@trent"; + }; + }; + + sops = { + age.keyFile = "/home/nipsy/.config/sops/age/keys.txt"; + defaultSopsFile = ./secrets/caladan.yaml; + + secrets = { + "reaper_license" = { + path = "/home/nipsy/.config/REAPER/reaper-license.rk"; + }; + "ssh_config" = { + path = "/home/nipsy/.ssh/config"; + }; + }; + }; + + xsession = { + initExtra = '' + xrandr --output DisplayPort-0 --primary --mode 2560x1440 --rate 170 + + # disable VRR because it causes the display to go to sleep on my GeForce 1080 (now 3070 Ti) sometimes; maybe monitor related? + #nvidia-settings -a AllowVRR=0 + ''; + }; +} |
