Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
This commit is contained in:
6
modules/hosts/keith/users/weckyy702/filesystems.nix
Normal file
6
modules/hosts/keith/users/weckyy702/filesystems.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
flake.modules.nixos.keith.fileSystems."/home/weckyy702/Documents" = {
|
||||
device = "/dev/disk/by-uuid/2d6f2255-eca4-489b-9f0f-6c455cd394fc";
|
||||
fsType = "ext4";
|
||||
};
|
||||
}
|
||||
16
modules/hosts/keith/users/weckyy702/mount-nas.nix
Normal file
16
modules/hosts/keith/users/weckyy702/mount-nas.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.keith = { config, ... }: {
|
||||
age.secrets."nas-creds".file = "${inputs.secrets}/nas-creds.age";
|
||||
|
||||
imports = with inputs.self.factory; [
|
||||
(mount-cifs {
|
||||
host = "duke.veltnet";
|
||||
resource = "home";
|
||||
destination = "/home/weckyy702/duke";
|
||||
credentials_path = "${config.age.secrets.nas-creds.path}";
|
||||
UID = "weckyy702";
|
||||
GID = "users";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
25
modules/hosts/keith/users/weckyy702/weckyy702.nix
Normal file
25
modules/hosts/keith/users/weckyy702/weckyy702.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ inputs, ... }: {
|
||||
flake.modules.nixos.keith = { config, ... }: {
|
||||
imports = with inputs.self.modules.nixos; [
|
||||
weckyy702
|
||||
steam
|
||||
];
|
||||
|
||||
home-manager.users.weckyy702 = { config, ... }: {
|
||||
imports = with inputs.self.modules.homeManager;
|
||||
with inputs.self.factory; [
|
||||
(hyprpaper {
|
||||
wallpaper_path = "${inputs.assets}/horizontal_16x9.png";
|
||||
monitor_names = [
|
||||
"DP-1"
|
||||
"HDMI-A-1"
|
||||
];
|
||||
})
|
||||
vesktop
|
||||
spicetify
|
||||
borgmatic
|
||||
qbittorrent
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user