Compare commits

..

No commits in common. "81bff57394efc182659b4d8a09fb2f69ec20be90" and "3c37d9f3352f41365a9fe40028cc6b3025257698" have entirely different histories.

14 changed files with 47 additions and 88 deletions

View File

@ -25,12 +25,6 @@
boot.loader.grub.useOSProber = true;
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
nix.package = pkgs.nixVersions.latest;
# Optional but recommended:
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
boot.kernelParams = [
"cgroup_enable=cpuset,cpu,cpuacct,blkio,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids"
];
@ -67,9 +61,6 @@
services = {
# Enable X11 and configure Wayland support
desktopManager = {
plasma6.enable = true;
};
xserver = {
enable = true;
xkb.layout = "gb";
@ -82,6 +73,7 @@
# Desktop Managers Configuration
desktopManager = {
gnome.enable = true; # GNOME
plasma6.enable = true; # Use plasma5 for KDE6 as well
};
# Window Managers Configuration
@ -114,6 +106,9 @@
# Enable CUPS to print documents.
services.printing.enable = true;
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
#sound.enable = true;
services.flatpak.enable = true;
services.blueman.enable = true;
@ -175,6 +170,22 @@
#services.desktopManager.cosmic.enable = true;
#services.displayManager.cosmic-greeter.enable = true;
hardware.opengl = {
enable = true;
driSupport = true;
#driSupport32Bit = true;
extraPackages = with pkgs; [
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
intel-media-driver # LIBVA_DRIVER_NAME=iHD
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
libvdpau-va-gl
vaapiVdpau
mesa.drivers
];
};
programs.steam.enable = true;
programs.steam.gamescopeSession.enable = true;

27
flake.lock generated
View File

@ -1,27 +0,0 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1746557022,
"narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@ -1,17 +0,0 @@
{
description = "NixOS configuration for hypr-nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations.hypr-nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./hosts/hypr-nix/configuration.nix
];
};
};
}

10
gpu.nix Normal file
View File

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
hardware.opengl.extraPackages = with pkgs; [
rocmPackages.clr.icd
];
environment.systemPackages = [
pkgs.rocmPackages.rpp
];
}

View File

@ -1,22 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = [
pkgs.rocmPackages.rpp
];
hardware.graphics = {
enable = true;
#driSupport = true;
#driSupport32Bit = true;
extraPackages = with pkgs; [
rocmPackages.clr.icd
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
intel-media-driver # LIBVA_DRIVER_NAME=iHD
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
libvdpau-va-gl
vaapiVdpau
mesa
];
};
}

View File

@ -35,6 +35,7 @@
discocss
themechanger
catppuccin-kvantum
dolphin
nwg-drawer
hyprpaper
];

View File

@ -8,9 +8,11 @@ in
environment.systemPackages = with pkgs; [
# Text Editors
vim
libsForQt5.kate
sublime
lunarvim
vscode
#unstable.zed-editor
# Development Tools
openjdk
@ -20,7 +22,9 @@ in
glew
glfw
libGL
sdl3
SDL2
unstable.sdl3
SDL2_image
vulkan-loader
vulkan-tools
vulkan-headers
@ -30,10 +34,11 @@ in
python3
php
php83Packages.composer
libsForQt5.kdenlive
exercism
betterdiscord-installer
go
bun
unstable.go
unstable.bun
air
tailwindcss
google-cloud-sdk-gce
@ -106,12 +111,14 @@ in
i3
eww
vesktop
hyprsunset
unstable.hyprsunset
unstable.hyprshot
# Web Browsers
brave
google-chrome
firefox
falkon
tor-browser
# Communication
@ -173,21 +180,22 @@ in
spice-vdagent
# Themes and Customization
#kdePackages.qt6ct
kdePackages.qt6ct
catppuccin-kvantum
# Multimedia Tools
svt-av1
rav1e
libaom
sunshine
unstable.sunshine
# Miscellaneous
fastfetch
betterdiscord-installer
ghostty
unstable.ghostty
guacamole-client
rpi-imager
kdePackages.filelight
light
#games
@ -206,12 +214,6 @@ in
modrinth-app
minecraft
nsnake
#kdePackages
kdePackages.dolphin
kdePackages.filelight
kdePackages.kate
kdePackages.falkon
];
}

1
result Symbolic link
View File

@ -0,0 +1 @@
/nix/store/2hqaqfwyqgx9fpfcpwzf1ajj723z7hk6-nixos-system-hypr-nix-24.05.7376.b134951a4c9f