Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
17 lines
445 B
Nix
17 lines
445 B
Nix
{ 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";
|
|
})
|
|
];
|
|
};
|
|
}
|