Reorganize files
This commit is contained in:
parent
2fc4f2dd4a
commit
a32dfc1089
32 changed files with 260 additions and 398 deletions
10
modules/common-desktop/desktop.nix
Normal file
10
modules/common-desktop/desktop.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
layout = "us";
|
||||
};
|
||||
}
|
4
modules/common-desktop/gamemode.nix
Normal file
4
modules/common-desktop/gamemode.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
programs.gamemode.enable = true;
|
||||
environment.sessionVariables.GAMEMODERUNEXEC = "nvidia-offload";
|
||||
}
|
13
modules/common-desktop/gnome.nix
Normal file
13
modules/common-desktop/gnome.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs.gnomeExtensions; [
|
||||
caffeine
|
||||
pop-shell
|
||||
appindicator
|
||||
search-light
|
||||
blur-my-shell
|
||||
just-perfection
|
||||
burn-my-windows
|
||||
fullscreen-avoider
|
||||
compiz-windows-effect
|
||||
];
|
||||
}
|
1
modules/common-desktop/noisetorch.nix
Normal file
1
modules/common-desktop/noisetorch.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{programs.noisetorch.enable = true;}
|
7
modules/common-desktop/opengl.nix
Normal file
7
modules/common-desktop/opengl.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
}
|
27
modules/common-desktop/packages.nix
Normal file
27
modules/common-desktop/packages.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{pkgs, inputs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
fd
|
||||
tldr
|
||||
tuba
|
||||
gimp
|
||||
heroic
|
||||
aspell
|
||||
killall
|
||||
ripgrep
|
||||
hyfetch
|
||||
inkscape
|
||||
r2modman
|
||||
pciutils
|
||||
monophony
|
||||
alejandra
|
||||
grapejuice
|
||||
impression
|
||||
libreoffice
|
||||
virt-manager
|
||||
wl-clipboard
|
||||
protontricks
|
||||
android-studio
|
||||
hunspellDicts.en_CA-large
|
||||
inputs.nix-gaming.packages.${system}.wine-ge
|
||||
];
|
||||
}
|
12
modules/common-desktop/pipewire.nix
Normal file
12
modules/common-desktop/pipewire.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
pulse.enable = true;
|
||||
lowLatency.enable = true;
|
||||
};
|
||||
hardware.pulseaudio.enable = false;
|
||||
}
|
1
modules/common-desktop/plymouth.nix
Normal file
1
modules/common-desktop/plymouth.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{boot.plymouth.enable = true;}
|
12
modules/common-desktop/print.nix
Normal file
12
modules/common-desktop/print.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
services = {
|
||||
avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
gpm.enable = true;
|
||||
printing.enable = true;
|
||||
};
|
||||
}
|
1
modules/common-desktop/state-version.nix
Normal file
1
modules/common-desktop/state-version.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{system.stateVersion = "23.05";}
|
12
modules/common-desktop/steam.nix
Normal file
12
modules/common-desktop/steam.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
package = pkgs.steam.override {
|
||||
extraProfile = "export STEAM_EXTRA_COMPAT_TOOLS_PATHS='${inputs.nix-gaming.packages.${pkgs.system}.proton-ge}'";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue