move some config to modules

update dae config

move dae config to module

move openssh config to module

change david config location

move nh.nix to module

move i18n config to module

move steam config to module

remove kvm config
This commit is contained in:
ulic-youthlic 2025-01-13 16:49:40 +08:00
parent 47dac088a4
commit 85c42efac0
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
17 changed files with 285 additions and 261 deletions

View file

@ -5,13 +5,8 @@
nixos-hardware.nixosModules.asus-fx506hm
])
++ [
./i18n.nix
./gui.nix
./users
./openssh.nix
./kvm.nix
./dae
./nh.nix
./steam.nix
# Include the hardware related config
@ -19,10 +14,18 @@
./networking.nix
];
youthlic.home-manager = {
enable = true;
unixName = "david";
hostName = "Tytonidae";
youthlic = {
home-manager = {
enable = true;
unixName = "david";
hostName = "Tytonidae";
};
i18n.enable = true;
programs = {
dae.enable = true;
openssh.enable = true;
steam.enable = true;
};
};
programs.gnupg.agent = {
@ -46,7 +49,6 @@
element-desktop
discord-ptb
asusctl
vlc
btop
handbrake
@ -57,12 +59,6 @@
environment.variables.EDITOR = "hx";
nixpkgs = {
config = {
allowUnfree = true;
};
};
boot = {
kernelPackages = pkgs.linuxPackages_zen;
loader.systemd-boot.enable = true;