hosts/hyacinth: split into modules
This commit is contained in:
parent
4ddd7b1366
commit
3d26dce8d6
6 changed files with 43 additions and 21 deletions
|
|
@ -28,6 +28,8 @@ in {
|
|||
./system/audio.nix
|
||||
./system/base.nix
|
||||
./system/ccache.nix
|
||||
./system/corectrl.nix
|
||||
./system/flatpak.nix
|
||||
./system/greetd.nix
|
||||
./system/gui.nix
|
||||
./system/home-manager.nix
|
||||
|
|
@ -36,9 +38,11 @@ in {
|
|||
./system/nix.nix
|
||||
./system/nix-stable.nix
|
||||
./system/packages.nix
|
||||
./system/printing.nix
|
||||
./system/security.nix
|
||||
./system/snapper.nix
|
||||
./system/transmission.nix
|
||||
./system/virtualisation.nix
|
||||
./system/wireguard.nix
|
||||
];
|
||||
user = mkAttrsFromPaths [
|
||||
|
|
|
|||
9
modules/system/corectrl.nix
Normal file
9
modules/system/corectrl.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
programs.corectrl = {
|
||||
enable = true;
|
||||
gpuOverclock = {
|
||||
enable = true;
|
||||
ppfeaturemask = "0xffffffff";
|
||||
};
|
||||
};
|
||||
}
|
||||
7
modules/system/flatpak.nix
Normal file
7
modules/system/flatpak.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
services.flatpak.enable = true;
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||
};
|
||||
}
|
||||
9
modules/system/printing.nix
Normal file
9
modules/system/printing.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
services.printing = {
|
||||
enable = true;
|
||||
drivers = with pkgs; [
|
||||
epson-escpr
|
||||
me.epson-201112j
|
||||
];
|
||||
};
|
||||
}
|
||||
9
modules/system/virtualisation.nix
Normal file
9
modules/system/virtualisation.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }: {
|
||||
virtualisation = {
|
||||
spiceUSBRedirection.enable = true;
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu.package = pkgs.qemu_kvm.override { smbdSupport = true; };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue