home / hosts | refactor sway config + general refactor

This commit is contained in:
Don Harper 2025-07-05 20:20:59 -05:00
parent 8538b25027
commit 6e7009451f
11 changed files with 403 additions and 44 deletions

View file

@ -3,13 +3,9 @@
./hardware-configuration.nix
# ../disko/mmcblk.nix
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
../../home/gui/gnome-calenar.nix
];
networking.hostName = "ace";
variables.swayScale = "0.75";
roles = {
citrix.enable = false;

View file

@ -4,13 +4,9 @@
./hardware-configuration.nix
# ../disko/mmcblk.nix
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
../../home/gui/gnome-calenar.nix
];
networking.hostName = "book";
variables.swayScale = "1.5";
roles = {
citrix.enable = true;

View file

@ -6,13 +6,9 @@
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
../../home/gui/gnome-calenar.nix
];
networking.hostName = "dragon";
variables.swayScale = "1.0";
roles = {
citrix.enable = false;

View file

@ -4,13 +4,9 @@
./hardware-configuration.nix
# ../disko/mmcblk.nix
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
../../home/gui/gnome-calenar.nix
];
networking.hostName = "eve";
variables.swayScale = "1.5";
roles = {
citrix.enable = false;

View file

@ -4,14 +4,10 @@
./hardware-configuration.nix
# ../disko/nvme.nix
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
../../home/gui/gnome-calenar.nix
];
networking.hostName = "loki";
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
variables.swayScale = "1.1";
roles = {
citrix.enable = true;

View file

@ -6,12 +6,9 @@
inputs.nixos-hardware.nixosModules.common-pc-laptop
inputs.nixos-hardware.nixosModules.common-pc-laptop-ssd
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
];
networking.hostName = "pocket2";
variables.swayScale = "1.7";
roles = {
citrix.enable = false;

View file

@ -4,13 +4,9 @@
./hardware-configuration.nix
# ../disko/sda.nix
../workstation
../workstation/kvm.nix
../workstation/games
../wm
../../home/work
../../home/gui/gnome-calenar.nix
];
networking.hostName = "smaug";
variables.swayScale = "0.75";
roles = {
citrix.enable = false;
@ -21,7 +17,7 @@
games.enable = true;
wine.enable = false;
tlp.enable = true;
gnome-calendar.enable = false;
gnome-calendar.enable = true;
};
wm = {
sway.enable = true;

8
hosts/vars.nix Normal file
View file

@ -0,0 +1,8 @@
{ lib, ... }: {
options = {
variables = lib.mkOption {
type = lib.types.attrs;
default = { };
};
};
}

View file

@ -42,7 +42,7 @@ in {
rofi
slurp
sway
sway-audio-idle-inhibit
# sway-audio-idle-inhibit
sway-contrib.grimshot
swayidle
swayimg

View file

@ -28,17 +28,23 @@ in {
};
imports = [
inputs.catppuccin.nixosModules.catppuccin
# ./tailscale.nix
../../home
../../home/gui
./../themes.nix
../../home/gui/gnome-calenar.nix
../../home/work
../vars.nix
../wm
../wm/greetd
../workstation/games
../workstation/kvm.nix
../themes.nix
./detect-reboot-needed.nix
./systemd.nix
# ./tailscale.nix
./upgrade-diff.nix
./kmscon.nix
./wine.nix
./systemd.nix
./tlp.nix
./upgrade-diff.nix
./wine.nix
];
networking = {