aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2025-06-02 20:42:23 -0700
committerMark Nipper <nipsy@bitgnome.net>2025-06-02 20:42:23 -0700
commit7482e4098518c20050062eb70836f3753d60520c (patch)
treee2c1a2d4ed8390b1e9d7645631e14dbdc04f3d03 /home
parent1b96f473780541fe4f801e38f7d6e3c70f5700b7 (diff)
downloadnix-7482e4098518c20050062eb70836f3753d60520c.tar
nix-7482e4098518c20050062eb70836f3753d60520c.tar.gz
nix-7482e4098518c20050062eb70836f3753d60520c.tar.bz2
nix-7482e4098518c20050062eb70836f3753d60520c.tar.lz
nix-7482e4098518c20050062eb70836f3753d60520c.tar.xz
nix-7482e4098518c20050062eb70836f3753d60520c.tar.zst
nix-7482e4098518c20050062eb70836f3753d60520c.zip
Add new host caladan
Diffstat (limited to '')
-rw-r--r--home/nipsy/caladan.nix58
-rw-r--r--home/root/caladan.nix14
2 files changed, 72 insertions, 0 deletions
diff --git a/home/nipsy/caladan.nix b/home/nipsy/caladan.nix
new file mode 100644
index 0000000..49f84a7
--- /dev/null
+++ b/home/nipsy/caladan.nix
@@ -0,0 +1,58 @@
+{ inputs, lib, pkgs, config, outputs, ... }:
+{
+ imports = [
+ common/core
+ common/optional/desktops
+ common/optional/desktops/services/xscreensaver.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 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/arrakis.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 165
+
+ # 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
+ '';
+ };
+}
diff --git a/home/root/caladan.nix b/home/root/caladan.nix
new file mode 100644
index 0000000..287f220
--- /dev/null
+++ b/home/root/caladan.nix
@@ -0,0 +1,14 @@
+{ config, inputs, lib, outputs, pkgs, ... }:
+{
+ imports = [
+ common/core
+ ];
+
+ home.file = {
+ "bin/knock".source = ../common/scripts/knock;
+ };
+
+ #nix.extraOptions = ''
+ # !include /run/secrets/nix-access-token-github
+ #'';
+}