big changes
This commit is contained in:
parent
04fdbf9d61
commit
f1862988ce
9 changed files with 187 additions and 98 deletions
|
|
@ -13,13 +13,13 @@ in
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
(modulesDirectory + /moduler/users.nix)
|
||||
(modulesDirectory + /moduler/git.nix)
|
||||
(modulesDirectory + /moduler/network.nix)
|
||||
(modulesDirectory + /moduler/programs.nix)
|
||||
(modulesDirectory + /moduler/system.nix)
|
||||
(modulesDirectory + /moduler/dev.nix)
|
||||
(modulesDirectory + /moduler/sound.nix)
|
||||
(modulesDirectory + /users.nix)
|
||||
(modulesDirectory + /git.nix)
|
||||
(modulesDirectory + /network.nix)
|
||||
(modulesDirectory + /programs.nix)
|
||||
(modulesDirectory + /system.nix)
|
||||
(modulesDirectory + /dev.nix)
|
||||
(modulesDirectory + /sound.nix)
|
||||
(modulesDirectory + /programs/kubernetes-tools.nix)
|
||||
|
||||
(modulesDirectory + /services/base)
|
||||
|
|
@ -45,6 +45,40 @@ in
|
|||
nixvim = {
|
||||
enable = true;
|
||||
theme = theme;
|
||||
lsp_jobb = true;
|
||||
};
|
||||
sops.defaultSopsFile = ../../secrets/sops.yaml;
|
||||
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
sops.secrets.build-service = { };
|
||||
|
||||
environment.systemPackages = [ pkgs.cifs-utils ];
|
||||
|
||||
fileSystems."/mnt/testweb/inetpub" = {
|
||||
device = "//192.168.0.226/inetpub";
|
||||
fsType = "cifs";
|
||||
options =
|
||||
let
|
||||
automount_opts =
|
||||
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,"
|
||||
+ "x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||
in
|
||||
[
|
||||
"${automount_opts},credentials=${toString config.sops.secrets.build-service.path},vers=3.0"
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/testweb/Logs" = {
|
||||
device = "//192.168.0.226/Logs";
|
||||
fsType = "cifs";
|
||||
options =
|
||||
let
|
||||
automount_opts =
|
||||
"x-systemd.automount,noauto,x-systemd.idle-timeout=60,"
|
||||
+ "x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
|
||||
in
|
||||
[
|
||||
"${automount_opts},credentials=${toString config.sops.secrets.build-service.path},vers=3.0"
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.extraSpecialArgs = { inherit inputs pkgs; };
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@ in
|
|||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
beets
|
||||
git
|
||||
vim
|
||||
];
|
||||
|
||||
services.nginx = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue