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
40
modules/nixos/system/desktop.nix
Executable file
40
modules/nixos/system/desktop.nix
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
hardware = {
|
||||
bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
};
|
||||
|
||||
# mesa graphics library
|
||||
graphics.enable = true;
|
||||
};
|
||||
|
||||
# audio
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# CUPS
|
||||
services.printing.enable = true;
|
||||
|
||||
# enable native wayland in chromium/electron
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
bitwarden
|
||||
krita
|
||||
vlc
|
||||
gpu-screen-recorder-gtk
|
||||
];
|
||||
|
||||
# needed alongside the GUI app for promptless recording
|
||||
programs.gpu-screen-recorder.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue