Initial commit

This commit is contained in:
Prouk committed 2026-07-23 18:45:14 +02:00
commit adefce92cf
33 files changed
+782

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
{ pkgs, ... }:
{
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
environment.systemPackages = with pkgs; [
alsa-scarlett-gui
];
}
+64
View File
@@ -0,0 +1,64 @@
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
./graphics
./audio.nix
./fonts/fonts.nix
./dm/sddm.nix
./wm/niri.nix
./inputs/wooting.nix
./inputs/wooting.nix
./network/bluetooth.nix
./steam/steam.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "prouk";
networking.networkmanager.enable = true;
time.timeZone = "Europe/Paris";
users.users.prouk = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
programs.firefox.enable = true;
programs.nix-ld.enable = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"electron-40.10.5"
];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
# NO TOUCHY
system.stateVersion = "26.05";
boot.kernelPackages = pkgs.linuxPackages_latest;
environment.systemPackages = with pkgs; [
gnumake
];
nix.settings = {
trusted-users = [ "prouk" ];
substituters = [
"https://cache.nixos.org"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
}
+7
View File
@@ -0,0 +1,7 @@
{ ... }:
{
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
}
+17
View File
@@ -0,0 +1,17 @@
{ pkgs, ... }:
{
fonts = {
packages = with pkgs; [
nerd-fonts.iosevka
nerd-fonts.symbols-only
];
fontconfig = {
enable = true;
defaultFonts = {
emoji = [
];
};
};
};
}
+10
View File
@@ -0,0 +1,10 @@
{ ... }:
{
hardware.graphics = {
enable = true;
};
imports = [
./nvidia.nix
];
}
+20
View File
@@ -0,0 +1,20 @@
{ pkgs, ... }:
{
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = {
branch = "bleeding_edge";
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = true;
nvidiaSettings = true;
};
environment.systemPackages = with pkgs; [
libva-utils
nvidia-vaapi-driver
nvtopPackages.nvidia
];
}
+58
View File
@@ -0,0 +1,58 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [
"nvidia"
"nvidia-modeset"
"nvidia-uvm"
"nvidia-drm"
];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/fffa5d3f-1684-4434-bbdd-a8792659355f";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/AA82-FC59";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
fileSystems."/BIGNVME" = {
device = "/dev/disk/by-uuid/866d8acc-fd1b-4c03-aad2-91e4d099d4e4";
fsType = "ext4";
};
swapDevices = [
{ device = "/dev/disk/by-uuid/95a4ca9d-b04f-4f5a-b1be-b1b17cba9a7b"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
+4
View File
@@ -0,0 +1,4 @@
{ ... }:
{
hardware.wooting.enable = true;
}
+12
View File
@@ -0,0 +1,12 @@
{ ... }:
{
hardware.bluetooth = {
enable = true;
settings = {
General = {
Experimental = true;
};
};
};
services.blueman.enable = true;
}
+16
View File
@@ -0,0 +1,16 @@
{ pkgs, ... }:
{
programs = {
steam.enable = true;
gamescope = {
enable = true;
capSysNice = false;
};
};
environment.systemPackages = with pkgs; [
SDL2
protonup-rs
protontricks
winetricks
];
}
+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
programs.niri.enable = true;
programs.xwayland.enable = true;
environment.variables = {
NIXOS_OZONE_WLEGL = "1";
};
environment.systemPackages = with pkgs; [
alacritty
];
}