Configuration is more flexible

Add new host must be easier
This commit is contained in:
Yorick Barbanneau 2023-09-02 15:51:02 +02:00
parent 431c99a58e
commit 51fdbb4a87
16 changed files with 91 additions and 79 deletions

View file

@ -1,5 +0,0 @@
{ config, ...}:
{
security.doas.enable = true;
security.sudo.enable = false;
}

View file

@ -1,13 +0,0 @@
{ config, pkgs, ...}:
{
environment.systemPackages = with pkgs; [
neovim
];
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
}

View file

@ -1,9 +0,0 @@
{ config, pkgs, ...}:
{
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
}

View file

@ -1,7 +0,0 @@
{ pkgs, ... }:
{
programs.steam = {
enable = true;
gamescopeSession.enable = true;
};
}

View file

@ -1,9 +0,0 @@
{ config, pkgs, ...}:
{
xdg.portal = {
enable = true;
wlr.enable = true;
# gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
}