Cleaning up and fixing

This commit is contained in:
2026-08-16 12:36:59 +01:00
parent 7982e77c12
commit 5255ce3709
12 changed files with 34 additions and 87 deletions
Generated
-17
View File
@@ -302,22 +302,6 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": {
"locked": {
"lastModified": 1786599213,
"narHash": "sha256-yNJd40f11EzXBjSByCB7IPpeFFAdeoSKKM67dGkfFoU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0e251e24a4f24e036a084b6b4b2d2491af4167f4",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1764242076, "lastModified": 1764242076,
@@ -439,7 +423,6 @@
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_6",
"nixpkgs-unstable": "nixpkgs-unstable",
"psysonic": "psysonic", "psysonic": "psysonic",
"try-cli": "try-cli", "try-cli": "try-cli",
"voxtype": "voxtype", "voxtype": "voxtype",
-36
View File
@@ -1,24 +1,8 @@
{ {
description = "Stationette nix config"; description = "Stationette nix config";
nixConfig = {
extra-substituters = [
"https://nix-gaming.cachix.org"
"https://walker.cachix.org"
"https://walker-git.cachix.org"
"https://psysonic.cachix.org"
];
extra-trusted-public-keys = [
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
"walker.cachix.org-1:fG8q+uAaMqhsMxWjwvk0IMb4mFPFLqHjuvfwQxE4oJM="
"walker-git.cachix.org-1:vmC0ocfPWh0S/vRAQGtChuiZBTAe4wiKDeyyXM0/7pM="
"psysonic.cachix.org-1:M9cQyQ7tgvUWOQ5Pyt8ozlMoPLtOZir6MfRuTH9/VYA="
];
};
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nix-gaming.url = "github:fufexan/nix-gaming"; nix-gaming.url = "github:fufexan/nix-gaming";
disko.url = "github:nix-community/disko/latest"; disko.url = "github:nix-community/disko/latest";
impermanence.url = "github:nix-community/impermanence"; impermanence.url = "github:nix-community/impermanence";
@@ -61,15 +45,10 @@
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
nixpkgs-unstable,
nix-gaming, nix-gaming,
impermanence, impermanence,
disko, disko,
home-manager, home-manager,
try-cli,
psysonic,
voxtype,
walker,
nixos-hardware, nixos-hardware,
# hyprland-preview-share-picker, # hyprland-preview-share-picker,
... ...
@@ -81,10 +60,6 @@
config.allowUnfree = true; config.allowUnfree = true;
}; };
nix-gaming = inputs.nix-gaming.packages.${system}; nix-gaming = inputs.nix-gaming.packages.${system};
pkgs-unstable = import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
mkHost = hostname: nixpkgs.lib.nixosSystem { mkHost = hostname: nixpkgs.lib.nixosSystem {
modules = [ modules = [
@@ -99,11 +74,6 @@
users.chris = import ./home; users.chris = import ./home;
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs;
inherit pkgs-unstable;
inherit try-cli;
inherit psysonic;
inherit voxtype;
inherit walker;
inherit impermanence; inherit impermanence;
inherit hostname; inherit hostname;
}; };
@@ -112,7 +82,6 @@
]; ];
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
inherit pkgs-unstable;
inherit impermanence; inherit impermanence;
inherit disko; inherit disko;
inherit hostname; inherit hostname;
@@ -131,11 +100,6 @@
inherit pkgs; inherit pkgs;
extraSpecialArgs = { extraSpecialArgs = {
inherit inputs; inherit inputs;
inherit pkgs-unstable;
inherit try-cli;
inherit psysonic;
inherit voxtype;
inherit walker;
inherit impermanence; inherit impermanence;
}; };
modules = [ modules = [
+9 -10
View File
@@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, try-cli, psysonic, nix-direnv, ... }: { pkgs, inputs, nix-direnv, ... }:
let let
# krita-appimage = pkgs.callPackage ../packages/krita.nix { }; # krita-appimage = pkgs.callPackage ../packages/krita.nix { };
@@ -24,36 +24,35 @@ in
}; };
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
pkgs-unstable.antigravity # Gemini AI coding assistant antigravity-ide # Gemini AI coding assistant
pkgs-unstable.antigravity-cli # Gemini AI coding assistant antigravity-cli # Gemini AI coding assistant
bluetui # Bluetooth TUI bluetui # Bluetooth TUI
enpass # Password manager enpass # Password manager
enpass-cli # Enpass CLI tool enpass-cli # Enpass CLI tool
expressvpn # VPN expressvpn # VPN
ffmpeg # Video tools ffmpeg # Video tools
ffmpegthumbnailer # Video thumbnailer ffmpegthumbnailer # Video thumbnailer
pkgs-unstable.gemini-cli # Gemini AI CLI tool
ghostty # Terminal emulator ghostty # Terminal emulator
gimp # Image manipulation software gimp # Image manipulation software
gpu-screen-recorder # GPU screen recorder for Linux gpu-screen-recorder # GPU screen recorder for Linux
imv # Image viewer imv # Image viewer
inkscape # Vector graphics software inkscape # Vector graphics software
pkgs-unstable.krita # Custom digital art software (from AppImage) krita # Custom digital art software (from AppImage)
# pkgs-unstable.libation # Audible book manager # libation # Audible book manager
libreoffice-fresh # Office suite libreoffice-fresh # Office suite
pkgs-unstable.atlauncher # Minecraft launcher atlauncher # Minecraft launcher
mpv # Video player mpv # Video player
nautilus # Document viewer nautilus # Document viewer
nextcloud-client # Nextcloud sync client nextcloud-client # Nextcloud sync client
obsidian # Notes software obsidian # Notes software
psysonic.packages.${pkgs.system}.default # Music player inputs.psysonic.packages.${pkgs.system}.default # Music player
signal-desktop # Messaging signal-desktop # Messaging
spotify # Music spotify # Music
super-productivity # Task app super-productivity # Task app
sxiv # Minimal image viewer sxiv # Minimal image viewer
tenacity # Audio software tenacity # Audio software
thunderbird # Mail client thunderbird # Mail client
try-cli.packages.${pkgs.system}.default # Try CLI tool inputs.try-cli.packages.${pkgs.system}.default # Try CLI tool
wally-cli # Keyboard flasher wally-cli # Keyboard flasher
wiremix # Audio mixer TUI wiremix # Audio mixer TUI
xournalpp # Handwriting note-taking software xournalpp # Handwriting note-taking software
@@ -65,7 +64,7 @@ in
force = true; force = true;
text = '' text = ''
{ {
"workspace.library": ["${pkgs-unstable.hyprland}/share/hypr/stubs"] "workspace.library": ["${pkgs.hyprland}/share/hypr/stubs"]
} }
''; '';
}; };
+4 -4
View File
@@ -1,9 +1,9 @@
{ pkgs, lib, voxtype, walker, ... }: { pkgs, lib, inputs, ... }:
{ {
imports = [ imports = [
walker.homeManagerModules.default inputs.walker.homeManagerModules.default
voxtype.homeManagerModules.default inputs.voxtype.homeManagerModules.default
]; ];
programs = let programs = let
lock-false = { lock-false = {
@@ -33,7 +33,7 @@
}; };
voxtype = { voxtype = {
enable = true; enable = true;
package = voxtype.packages.${pkgs.system}.vulkan; package = inputs.voxtype.packages.${pkgs.system}.vulkan;
service.enable = true; service.enable = true;
settings = {}; settings = {};
}; };
-1
View File
@@ -1 +0,0 @@
/nix/store/ldv0r3wrdz10h7q483hym4s5jajnmgs2-psysonic-1.50.0-dev
Submodule scratch/psysonic deleted from e66b674937
+3 -1
View File
@@ -56,7 +56,6 @@ in
"systemd.show_status=auto" "systemd.show_status=auto"
"splash" "splash"
]; ];
bootspec.enable = true;
resumeDevice = "/dev/disk/by-partlabel/disk-${hostname}-root"; resumeDevice = "/dev/disk/by-partlabel/disk-${hostname}-root";
kernel.sysctl = { kernel.sysctl = {
"net.ipv4.ip_unprivileged_port_start" = 0; "net.ipv4.ip_unprivileged_port_start" = 0;
@@ -69,6 +68,9 @@ in
DefaultTimeoutStopSec = "5s"; DefaultTimeoutStopSec = "5s";
}; };
}; };
services.systemd-suspend.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
services.systemd-hibernate.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
services.systemd-suspend-then-hibernate.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
}; };
} }
+2 -2
View File
@@ -1,4 +1,4 @@
{ pkgs-unstable, ... }: { pkgs, ... }:
{ {
hardware = { hardware = {
@@ -11,7 +11,7 @@
opentabletdriver = { opentabletdriver = {
enable = true; enable = true;
package = pkgs-unstable.opentabletdriver; package = pkgs.opentabletdriver;
}; };
uinput.enable = true; uinput.enable = true;
}; };
+6 -5
View File
@@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, nix-gaming, ... }: { pkgs, nix-gaming, ... }:
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@@ -34,7 +34,7 @@
localsend # Local file sharing tool localsend # Local file sharing tool
makima # Key remapper for Linux TODO: Figure out and configure makima # Key remapper for Linux TODO: Figure out and configure
mako # Notification daemon mako # Notification daemon
pkgs-unstable.neovim # Editor neovim # Editor
nix-gaming.mo2installer nix-gaming.mo2installer
pnpm # JavaScript package manager (used by Neovim plugins) pnpm # JavaScript package manager (used by Neovim plugins)
tree-sitter # Incremental parsing tool for editors tree-sitter # Incremental parsing tool for editors
@@ -42,7 +42,7 @@
openssl # SSL/TLS toolkit openssl # SSL/TLS toolkit
p7zip # 7-Zip archiver p7zip # 7-Zip archiver
pipewire pipewire
pkgs-unstable.yazi # Terminal file manager yazi # Terminal file manager
pywal16 # Image colorscheme generator pywal16 # Image colorscheme generator
qt6.qtwayland # qtwayland support qt6.qtwayland # qtwayland support
ripgrep # Better grep ripgrep # Better grep
@@ -62,8 +62,8 @@
v4l-utils # Video4Linux utilities TODO: Figure out why I need this v4l-utils # Video4Linux utilities TODO: Figure out why I need this
waybar # Status bar for Hyprland waybar # Status bar for Hyprland
wget # Download tool wget # Download tool
pkgs-unstable.wineWow64Packages.stable # Wine packages for 64-bit and 32-bit support wineWow64Packages.stable # Wine packages for 64-bit and 32-bit support
pkgs-unstable.winetricks # Windows compatibility tool winetricks # Windows compatibility tool
wl-clipboard # Wayland clipboard manager wl-clipboard # Wayland clipboard manager
wlogout # Wayland logout menu wlogout # Wayland logout menu
xdg-terminal-exec # XDG terminal execution utility xdg-terminal-exec # XDG terminal execution utility
@@ -88,6 +88,7 @@
}; };
nix.settings = { nix.settings = {
trusted-users = [ "root" "chris" ];
extra-substituters = [ extra-substituters = [
"https://nix-gaming.cachix.org" "https://nix-gaming.cachix.org"
"https://walker.cachix.org" "https://walker.cachix.org"
+4 -4
View File
@@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, hostname, ... }: { pkgs, hostname, ... }:
{ {
programs = { programs = {
@@ -13,14 +13,14 @@
}; };
hyprland = { hyprland = {
enable = true; enable = true;
package = pkgs-unstable.hyprland; package = pkgs.hyprland;
portalPackage = pkgs-unstable.xdg-desktop-portal-hyprland; portalPackage = pkgs.xdg-desktop-portal-hyprland;
xwayland.enable = true; xwayland.enable = true;
withUWSM = true; withUWSM = true;
}; };
steam = { steam = {
enable = true; enable = true;
package = pkgs-unstable.steam; package = pkgs.steam;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers
+4 -4
View File
@@ -1,4 +1,4 @@
{ pkgs-unstable, ... }: { pkgs, ... }:
{ {
services = { services = {
@@ -10,7 +10,7 @@
fwupd.enable = true; fwupd.enable = true;
input-remapper = { input-remapper = {
enable = true; enable = true;
package = pkgs-unstable.input-remapper; package = pkgs.input-remapper;
}; };
geoclue2 = { geoclue2 = {
enable = true; enable = true;
@@ -32,7 +32,7 @@
enable = true; enable = true;
wayland.enable = true; wayland.enable = true;
theme = "maya"; theme = "maya";
package = pkgs-unstable.kdePackages.sddm; package = pkgs.kdePackages.sddm;
}; };
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "chris"; autoLogin.user = "chris";
@@ -45,7 +45,7 @@
enable = true; enable = true;
settings.Login = { settings.Login = {
HandleLidSwitch = "suspend"; HandleLidSwitch = "suspend";
HandleLidSwitchDocked = "suspend"; HandleLidSwitchDocked = "ignore";
}; };
}; };
}; };
+2 -2
View File
@@ -1,11 +1,11 @@
{ pkgs-unstable, ... }: { pkgs, ... }:
{ {
virtualisation = { virtualisation = {
docker = { docker = {
enable = true; enable = true;
autoPrune.enable = true; autoPrune.enable = true;
package = pkgs-unstable.docker; package = pkgs.docker;
}; };
}; };
} }