summaryrefslogtreecommitdiff
path: root/nixos/configuration.nix
diff options
context:
space:
mode:
authoralex <[email protected]>2026-10-11 19:17:40 +0200
committeralex <[email protected]>2026-10-11 19:17:40 +0200
commit65a56c663b497a9718c439e0573be16dbfce0a05 (patch)
tree0303042221642993a8fa7fd5aa80d094212ec389 /nixos/configuration.nix
parent575c0a4d00f319566b1a762e37570fd96868c28b (diff)
downloadnixos-65a56c663b497a9718c439e0573be16dbfce0a05.tar.xz
nixos-65a56c663b497a9718c439e0573be16dbfce0a05.zip
daco
Diffstat (limited to 'nixos/configuration.nix')
-rw-r--r--nixos/configuration.nix92
1 files changed, 87 insertions, 5 deletions
diff --git a/nixos/configuration.nix b/nixos/configuration.nix
index a2c523f..a5ad278 100644
--- a/nixos/configuration.nix
+++ b/nixos/configuration.nix
@@ -18,6 +18,8 @@
# Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix
+ inputs.serpantinum.nixosModules.default
+ inputs.spicetify-nix.nixosModules.default
];
nixpkgs = {
@@ -37,7 +39,7 @@
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
- permittedInsecurePackages = ["librewolf-152.0.2-1"];
+ permittedInsecurePackages = ["librewolf-152.0.2-1" "librewolf-unwrapped-152.0.2-1"];
};
};
@@ -59,6 +61,8 @@
programs.hyprland = {
enable = true;
+ package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
+ portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
xwayland.enable = true;
};
services.xserver.enable = true;
@@ -93,6 +97,20 @@
variant = "";
};
+ hardware.graphics = {
+ enable = true;
+ enable32Bit = true; # Critical for Steam/Proton performance
+ };
+ services.xserver.videoDrivers = [ "nvidia" ];
+
+ hardware.nvidia = {
+ modesetting.enable = true;
+ powerManagement.enable = false;
+ powerManagement.finegrained = false;
+ open = false; # Set to true if you prefer NVIDIA open kernel modules
+ nvidiaSettings = true;
+ };
+
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users."phos" = {
isNormalUser = true;
@@ -107,16 +125,80 @@
pulse.enable = true;
};
+ services.tailscale = {
+ # Enable tailscale at startup
+ enable = true;
+ useRoutingFeatures = "client";
+ # If you would like to use a preauthorized key, set
+ # authKeyFile = "/run/secrets/tailscale_key";
+ # Note: maximum expire time is 90 days
+ };
+fonts.packages = with pkgs; [
+ nerd-fonts.jetbrains-mono
+ # If you are on an older NixOS version (24.05 or prior), use this syntax instead:
+ # (nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
+];
environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
- kitty
+ foot
+ starship
+ fastfetch
git
- vim
- rofi
+ vim
waybar
- librewolf
+ #librewolf
+ firefox-bin
+ cliphist
+ easyeffects
+ nautilus
+ vscodium
+ pulseaudio
+ inotify-tools
+ matugen
+ vesktop
+ bibata-cursors
+ inputs.serpantinum.packages.${pkgs.stdenv.hostPlatform.system}.default
+ (prismlauncher.override {
+ # Include required JDKs for various Minecraft versions
+ jdks = [
+ zulu8 # < 1.17
+ zulu17 # 1.18 – 1.20.4
+ zulu21 # >= 1.20.5
+ ];
+ # Optional tools needed by specific mods
+ additionalPrograms = [ ffmpeg ];
+ })
];
+
+ programs.ssh = {
+ startAgent = true;
+ };
+
+ programs.steam = {
+ enable = true;
+ };
+
+programs.spicetify = let
+ spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
+in {
+ enable = true;
+ theme = {
+ name = "Matugen";
+ src = ./spicetify-theme;
+ injectCss = true;
+ replaceColors = true;
+ overwriteAssets = false;
+ };
+ colorScheme = "Matugen";
+ enabledExtensions = with spicePkgs.extensions; [
+ adblock
+ shuffle
+ ];
+};
+
+ programs.dconf.enable = true;
+ programs.serpantinum.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "25.11";
}