Merge branch 'main' of github.com:FabricSoul/nixos-configs

This commit is contained in:
FabricSoul 2025-07-21 17:42:15 -04:00
commit 1cc41415e3
7 changed files with 85 additions and 13 deletions

24
flake.lock generated
View file

@ -86,11 +86,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752781640, "lastModified": 1753056897,
"narHash": "sha256-bDgECs6Gls+KeIba8ft7jmxM3Hsbc2+DseiI4zrra2o=", "narHash": "sha256-AVVMBFcuOXqIgmShvRv9TED3fkiZhQ0ZvlhsPoFfkNE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "bc9f3c8413a3aaa01ed959c371c1f9e57515965b", "rev": "13a83d1b6545b7f0e8f7689bad62e7a3b1d63771",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -151,11 +151,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1752747119, "lastModified": 1752997324,
"narHash": "sha256-2Kp9St3Pbsmu+xMsobLcgzzUxPvZR7alVJWyuk2BAPc=", "narHash": "sha256-vtTM4oDke3SeDj+1ey6DjmzXdq8ZZSCLWSaApADDvIE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fa0ef8a6bb1651aa26c939aeb51b5f499e86b0ec", "rev": "7c688a0875df5a8c28a53fb55ae45e94eae0dddb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -191,11 +191,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1752762787, "lastModified": 1752976861,
"narHash": "sha256-WZLSOR2Pei7C4nH/ntKUqOZOAa5rgvc2fVZl4RoEXmw=", "narHash": "sha256-59HcrqHfbSJUdmpzrAa9x8fW1PoS+ZGhCjL5k5HbyV8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "bc0555c8694d43fb63ae2c7afec08b6987431a04", "rev": "0c50ed9349199219583cb1ed1a972d71e06039ec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -343,11 +343,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752758254, "lastModified": 1753069499,
"narHash": "sha256-VP+f1kJmTsJW+62HtJRZw/luhKHaT06lByAI3/6dXSQ=", "narHash": "sha256-YtgY0ueqKNrBma4Euu8WH23BhUkBujirJDMDE1KujnU=",
"owner": "0xc000022070", "owner": "0xc000022070",
"repo": "zen-browser-flake", "repo": "zen-browser-flake",
"rev": "9aa65a267cba3e8334e3af8ec005e75d9c391bbe", "rev": "c64b94235ae24e3b9e01a08f0331d8bb0e5b037a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,8 +2,8 @@
description = "Fabric's flake"; description = "Fabric's flake";
inputs = { inputs = {
# nvidiaPkgs.url = "github:NixOS/nixpkgs/915a9de5b3ab337133e890f21f44deb44598c814";
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/master"; url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -28,6 +28,7 @@
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
# nvidiaPkgs,
home-manager, home-manager,
zen-browser, zen-browser,
nixvim, nixvim,
@ -36,6 +37,13 @@
}: let }: let
lib = nixpkgs.lib; lib = nixpkgs.lib;
pkgs = nixpkgs.legacyPackages."x86_64-linux"; pkgs = nixpkgs.legacyPackages."x86_64-linux";
# nvidiaPkgsWithUnfree = import nvidiaPkgs {
# config = {
# allowUnfree = true;
# };
# overlays = [];
# system = "x86_64-linux";
# };
in { in {
nixosConfigurations = { nixosConfigurations = {
tatara = lib.nixosSystem { tatara = lib.nixosSystem {
@ -49,6 +57,9 @@
modules = [ modules = [
./hosts/zion/default.nix ./hosts/zion/default.nix
]; ];
# specialArgs = {
# nvidiaPkgs = nvidiaPkgsWithUnfree;
# };
}; };
}; };

View file

@ -53,6 +53,8 @@
mpv mpv
grim grim
slurp slurp
wlsunset
newsraft
nerd-fonts.dejavu-sans-mono nerd-fonts.dejavu-sans-mono
nerd-fonts.daddy-time-mono nerd-fonts.daddy-time-mono

View file

@ -26,6 +26,7 @@
exec-once = [ exec-once = [
"fcitx5" "fcitx5"
"wlsunset -l 43.6 -L -79.3"
]; ];
windowrule = [ windowrule = [

View file

@ -3,6 +3,7 @@
config, config,
lib, lib,
pkgs, pkgs,
nvidiaPkgs,
... ...
}: { }: {
services.xserver.videoDrivers = ["nvidia"]; services.xserver.videoDrivers = ["nvidia"];
@ -16,6 +17,36 @@
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable; package = config.boot.kernelPackages.nvidiaPackages.stable;
# package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
# version = "565.77";
#
# sha256_64bit = "sha256-CnqnQsRrzzTXZpgkAtF7PbH9s7wbiTRNcM0SPByzFHw=";
# sha256_aarch64 = "sha256-LSAYUnhfnK3rcuPe1dixOwAujSof19kNOfdRHE7bToE=";
# openSha256 = "sha256-Fxo0t61KQDs71YA8u7arY+503wkAc1foaa51vi2Pl5I=";
# settingsSha256 = "sha256-VUetj3LlOSz/LB+DDfMCN34uA4bNTTpjDrb6C6Iwukk=";
# persistencedSha256 = "sha256-wnDjC099D8d9NJSp9D0CbsL+vfHXyJFYYgU3CwcqKww=";
#
# # Optional: include patches from that version if needed
# # patches = [
# # ./fix-for-linux-6.13.patch
# # ];
# # patchesOpen = [
# # ./nvidia-nv-Convert-symbol-namespace-to-string-literal.patch
# # ./crypto-Add-fix-for-6.13-Module-compilation.patch
# # ./Use-linux-aperture.c-for-removing-conflict.patch
# # ./TTM-fbdev-emulation-for-Linux-6.13.patch
# # ];
# };
# package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
# version = "555.58";
#
# sha256_64bit = "sha256-bXvcXkg2kQZuCNKRZM5QoTaTjF4l2TtrsKUvyicj5ew=";
# sha256_aarch64 = lib.fakeSha256;
# openSha256 = lib.fakeSha256;
# settingsSha256 = "sha256-vWnrXlBCb3K5uVkDFmJDVq51wrCoqgPF03lSjZOuU8M=";
# persistencedSha256 = lib.fakeSha256;
# };
}; };
}; };
} }

View file

@ -0,0 +1,26 @@
{pkgs, ...}: {
services = {
desktopManager.plasma6.enable = true;
displayManager.sddm.enable = true;
displayManager.sddm.wayland.enable = true;
};
environment.systemPackages = with pkgs; [
kdePackages.discover # Optional: Install if you use Flatpak or fwupd firmware update sevice
kdePackages.kcalc # Calculator
kdePackages.kcharselect # Tool to select and copy special characters from all installed fonts
kdePackages.kcolorchooser # A small utility to select a color
kdePackages.kolourpaint # Easy-to-use paint program
kdePackages.ksystemlog # KDE SystemLog Application
kdePackages.sddm-kcm # Configuration module for SDDM
kdiff3 # Compares and merges 2 or 3 files or directories
kdePackages.isoimagewriter # Optional: Program to write hybrid ISO files onto USB disks
kdePackages.partitionmanager # Optional Manage the disk devices, partitions and file systems on your computer
hardinfo2 # System information and benchmarks for Linux systems
haruna # Open source video player built with Qt/QML and libmpv
wayland-utils # Wayland utilities
wl-clipboard # Command-line copy/paste utilities for Wayland
];
}

View file

@ -10,6 +10,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
# Common configurations # Common configurations
../common/optional/plasma.nix
../common/global ../common/global
../common/optional/nvidia.nix ../common/optional/nvidia.nix
../common/optional/docker.nix ../common/optional/docker.nix