hosts/tux: Add preliminary configuration for tux
Welcome to the team <3
This commit is contained in:
8
modules/hosts/tux/users/weckyy702/backlight.nix
Normal file
8
modules/hosts/tux/users/weckyy702/backlight.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.tux = {
|
||||
imports = with inputs.self.modules.nixos; [
|
||||
backlight
|
||||
];
|
||||
users.users.weckyy702.extraGroups = [ "video" ];
|
||||
};
|
||||
}
|
||||
19
modules/hosts/tux/users/weckyy702/hyprland.nix
Normal file
19
modules/hosts/tux/users/weckyy702/hyprland.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
16
modules/hosts/tux/users/weckyy702/mount-nas.nix
Normal file
16
modules/hosts/tux/users/weckyy702/mount-nas.nix
Normal 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";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
14
modules/hosts/tux/users/weckyy702/wallpaper.nix
Normal file
14
modules/hosts/tux/users/weckyy702/wallpaper.nix
Normal 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";
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
20
modules/hosts/tux/users/weckyy702/weckyy702.nix
Normal file
20
modules/hosts/tux/users/weckyy702/weckyy702.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user