Moving more stuff into modules

This commit is contained in:
fleaz 2022-01-25 01:31:56 +01:00
parent e24d7c1790
commit 4954008d13
8 changed files with 306 additions and 525 deletions

6
modules/opengl.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }: {
hardware.opengl = {
enable = true;
driSupport = true;
};
}

View file

@ -1,5 +1,4 @@
{ ... }: {
# Enable sound.
security.rtkit.enable = true;
services.pipewire = {
enable = true;

4
modules/ssh.nix Normal file
View file

@ -0,0 +1,4 @@
{ ... }:{
services.openssh.enable = true;
programs.ssh.startAgent = true;
}