hosts/tux: Add preliminary configuration for tux

Welcome to the team <3
This commit is contained in:
2026-03-17 00:15:19 +01:00
parent 22a1b19301
commit 7410e0e0a2
12 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
{ inputs, ... }: {
flake.modules.nixos.tux = {
imports = with inputs.self.modules.nixos; [
backlight
];
users.users.weckyy702.extraGroups = [ "video" ];
};
}

View File

@@ -0,0 +1,19 @@
{ inputs, ... }: {
flake-file.inputs = {
aghpb = {
url = "github:cat-milk/Anime-Girls-Holding-Programming-Books";
flake = false;
};
};
flake.modules.homeManager.tux-hyprland = {
imports = with inputs.self.modules.homeManager; [
ashell
];
wayland.windowManager.hyprland.settings = {
monitor = [
"eDP-1,preferred,0x0,1.066666667"
];
};
};
}

View File

@@ -0,0 +1,16 @@
{ inputs, ... }: {
flake.modules.nixos.tux = { config, ... }: {
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
imports = with inputs.self.factory; [
(mount-cifs {
host = "duke.veltnet";
resource = "smb-share";
destination = "/home/weckyy702/duke";
credentials_path = "${config.age.secrets.nas-creds.path}";
UID = "weckyy702";
GID = "users";
})
];
};
}

View File

@@ -0,0 +1,14 @@
{ inputs, ... }: {
flake.modules.homeManager.randomized-aghpb-wallpaper = {
imports = with inputs.self.factory; [
(wpaperd {
default = {
path = inputs.aghpb;
recursive = true;
mode = "stretch";
duration = "5m";
};
})
];
};
}

View File

@@ -0,0 +1,20 @@
{ inputs, ... }: {
flake.modules.nixos.tux = {
imports = with inputs.self.modules.nixos; [
weckyy702
upower
];
home-manager.users.weckyy702 = {
imports = with inputs.self.modules.homeManager;
with inputs.self.factory; [
borgmatic
obsidian
vesktop
tux-hyprland
randomized-aghpb-wallpaper
nm-applet
];
};
};
}