common: move to modules, move some files out, modules: adjust dir structure
This commit is contained in:
parent
ed5f8c3ae6
commit
0bc9abc4c0
43 changed files with 86 additions and 83 deletions
|
|
@ -4,16 +4,13 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../common/ssh/server.nix
|
||||
../../common/boot.nix
|
||||
../../common/locales.nix
|
||||
../../common/nix.nix
|
||||
../../common/users.nix
|
||||
../../modules/common
|
||||
|
||||
../../modules/nixos/bash.nix
|
||||
../../modules/nixos/git.nix
|
||||
../../modules/nixos/tailscale.nix
|
||||
../../modules/nixos/homeserver
|
||||
../../modules/nixos/programs/bash.nix
|
||||
../../modules/nixos/programs/git.nix
|
||||
../../modules/nixos/services/openssh.nix
|
||||
../../modules/nixos/services/tailscale.nix
|
||||
../../modules/nixos/services/homeserver
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
|
|
@ -75,15 +72,11 @@
|
|||
|
||||
environment.defaultPackages = lib.mkForce [];
|
||||
|
||||
services = {
|
||||
scx.scheduler = lib.mkForce "scx_rusty";
|
||||
|
||||
# for cloudflare browser ssh
|
||||
openssh.settings.Macs = [
|
||||
"hmac-sha2-512"
|
||||
"hmac-sha2-256"
|
||||
];
|
||||
};
|
||||
# for cloudflare browser ssh
|
||||
services.openssh.settings.Macs = [
|
||||
"hmac-sha2-512"
|
||||
"hmac-sha2-256"
|
||||
];
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue