mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 15:59:06 +02:00
more modules
This commit is contained in:
7
modules/apps/browser/brave.nix
Normal file
7
modules/apps/browser/brave.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.brave = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
brave
|
||||
];
|
||||
};
|
||||
}
|
||||
6
modules/desktop/bluetooth/bluetooth.nix
Normal file
6
modules/desktop/bluetooth/bluetooth.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.bluetooth = {
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
};
|
||||
}
|
||||
12
modules/desktop/desktop.nix
Normal file
12
modules/desktop/desktop.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ inputs, ... }: {
|
||||
flake.nixosModules.desktop = {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
bluetooth
|
||||
fonts
|
||||
gpu-amd
|
||||
input
|
||||
printing
|
||||
sound
|
||||
];
|
||||
};
|
||||
}
|
||||
8
modules/desktop/fonts/fonts.nix
Normal file
8
modules/desktop/fonts/fonts.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.fonts = { pkgs-unstable, ... }: {
|
||||
environment.systemPackages = with pkgs-unstable; [
|
||||
ibm-plex
|
||||
adwaita-fonts
|
||||
];
|
||||
};
|
||||
}
|
||||
16
modules/desktop/gpu-amd/gpu-amd.nix
Normal file
16
modules/desktop/gpu-amd/gpu-amd.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.gpu-amd = { pkgs, ... }: {
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelModules = [ "amdgpu" ];
|
||||
|
||||
hardware.amdgpu.initrd.enable = true;
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vulkan-tools
|
||||
];
|
||||
};
|
||||
}
|
||||
5
modules/desktop/input/input.nix
Normal file
5
modules/desktop/input/input.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.input = {
|
||||
services.libinput.enable = true;
|
||||
};
|
||||
}
|
||||
5
modules/desktop/printing/printing.nix
Normal file
5
modules/desktop/printing/printing.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.printing = {
|
||||
services.printing.enable = true;
|
||||
};
|
||||
}
|
||||
10
modules/desktop/sound/sound.nix
Normal file
10
modules/desktop/sound/sound.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.sound = { ... }: {
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
7
modules/gaming/controller/controller.nix
Normal file
7
modules/gaming/controller/controller.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.controller = { ... }: {
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add|change", KERNEL=="event[0-9]*", ATTRS{name}=="*Wireless Controller Touchpad", ENV{LIBINPUT_IGNORE_DEVICE}="1"
|
||||
'';
|
||||
};
|
||||
}
|
||||
8
modules/gaming/jovian/jovian.nix
Normal file
8
modules/gaming/jovian/jovian.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.jovian = { user, ... }:{
|
||||
jovian.steam.enable = true;
|
||||
jovian.steam.autoStart = true;
|
||||
jovian.steam.user = user;
|
||||
jovian.steam.desktopSession = "gnome";
|
||||
};
|
||||
}
|
||||
6
modules/gaming/lact/lact.nix
Normal file
6
modules/gaming/lact/lact.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.lact = {
|
||||
services.lact.enable = true;
|
||||
hardware.amdgpu.overdrive.enable = true;
|
||||
};
|
||||
}
|
||||
17
modules/gaming/steam/steam.nix
Normal file
17
modules/gaming/steam/steam.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.steam = { pkgs-unstable, ... }: {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
extest.enable = true;
|
||||
|
||||
extraCompatPackages = with pkgs-unstable; [
|
||||
proton-ge-bin
|
||||
];
|
||||
|
||||
extraPackages = with pkgs-unstable; [
|
||||
gamescope
|
||||
mangohud
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
7
modules/gnome/gdm/gdm.nix
Normal file
7
modules/gnome/gdm/gdm.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.gdm = { user, ... }:{
|
||||
services.displayManager.gdm.enable = true;
|
||||
services.displayManager.autoLogin.enable = true;
|
||||
services.displayManager.autoLogin.user = user;
|
||||
};
|
||||
}
|
||||
7
modules/gnome/gnome-apps/gnome-apps.nix
Normal file
7
modules/gnome/gnome-apps/gnome-apps.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.gnome-apps = { pkgs-unstable, ...}:{
|
||||
environment.systemPackages = with pkgs-unstable; [
|
||||
gnome-text-editor
|
||||
];
|
||||
};
|
||||
}
|
||||
8
modules/gnome/gnome-de/gnome.nix
Normal file
8
modules/gnome/gnome-de/gnome.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ ... }: {
|
||||
flake.nixosModules.gnome = { pkgs, ... }:{
|
||||
services.desktopManager.gnome.enable = true;
|
||||
services.gnome.core-apps.enable = false;
|
||||
services.gnome.core-developer-tools.enable = false;
|
||||
services.gnome.games.enable = false;
|
||||
};
|
||||
}
|
||||
@@ -3,7 +3,11 @@
|
||||
flake.nixosModules.computer-mo = {
|
||||
imports = with inputs.self.nixosModules; [
|
||||
base
|
||||
desktop
|
||||
singledisk
|
||||
gdm
|
||||
gnome-apps
|
||||
gnome
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user