flake lock and fixes to toothpick

This commit is contained in:
2025-07-29 21:24:53 +02:00
parent a000bc0da3
commit 7518153d87
11 changed files with 49 additions and 50 deletions

42
flake.lock generated
View File

@@ -183,11 +183,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1753685071, "lastModified": 1753771482,
"narHash": "sha256-hf+A5F4yyCisGPN4SvTpO0EkE0dQsp5gwRtRHUs46oY=", "narHash": "sha256-7WnYHGi5xT4PCacjM/UVp+k4ZYIIXwCf6CjVqgUnGTQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "b3b3e0da43a02ef1e40f4cfe485af70176e6f2e5", "rev": "8b6da138fb7baefa04a4284c63b2abefdfbd2c6d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -501,11 +501,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1753743762, "lastModified": 1753800056,
"narHash": "sha256-lB5sCJW16WaX+h++uKXDktEBvcv0ZsGBOUaFNwW3WUk=", "narHash": "sha256-m3Me2ksbMPsC5HBmetqTpix3tLgJlwMdcMi+XiRpcxo=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "2d5a19f081da1d04607681fe77bbc62a0e84727c", "rev": "f0be627dcb5b9f780a4bfa6ae012370d7c41d3be",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -521,11 +521,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1753761827, "lastModified": 1753812716,
"narHash": "sha256-mrVNT+aF4yR8P8Fx570W2vz+LzukSlf68Yr2YhUJHjo=", "narHash": "sha256-OjnjoalP00CyV34zg6T+Un2QoYiHCdRvMbqrweopyyY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "50adf8fcaa97c9d64309f2d507ed8be54ea23110", "rev": "2f588d275ebd8243be6c29e7bf3ec7409baa0aa7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -714,11 +714,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1753733285, "lastModified": 1753804949,
"narHash": "sha256-zEDgKVrDNUxtGCTzNcBjVkeqGazTNXX/fd1zJ/8qApE=", "narHash": "sha256-wFobkz11wfdGwi670qN132XQmt2QzgOoQCvujOn6uZ0=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland", "repo": "hyprland",
"rev": "abe29647ae9cf2e6bd40784790b3d99fcc962613", "rev": "f51be7f20109cd8eae87db96641aead843a3ef0b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -917,11 +917,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1753461596, "lastModified": 1753794465,
"narHash": "sha256-Td+W8vHCCLtYQWPDVESNxk5fgzQawBmkqCS/4noNDiI=", "narHash": "sha256-6IowSKLUAjaPgiSgQ3E/8AMpeAi8Xk5pk+0qeG/PblE=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprlock", "repo": "hyprlock",
"rev": "1e5e62d6e31de0d2610ade4a424d4b696d137a78", "rev": "71691634e4ba32017325d92eb1870b32f63d9189",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1250,11 +1250,11 @@
}, },
"nixpkgs_10": { "nixpkgs_10": {
"locked": { "locked": {
"lastModified": 1753549186, "lastModified": 1753694789,
"narHash": "sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs=", "narHash": "sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "17f6bd177404d6d43017595c5264756764444ab8", "rev": "dc9637876d0dcc8c9e5e22986b857632effeb727",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -1509,11 +1509,11 @@
"rust-analyzer-src": { "rust-analyzer-src": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1753651982, "lastModified": 1753724566,
"narHash": "sha256-RzsKuX6BQntFOhvqbstzOtzkOv0lkW4l8SYu6ffTf74=", "narHash": "sha256-DolKhpXhoehwLX+K/4xRRIeppnJHgKk6xWJdqn/vM6w=",
"owner": "rust-lang", "owner": "rust-lang",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "db02cdc7fc8b0e0b9aa1be4110a74620bbac1f98", "rev": "511c999bea1c3c129b8eba713bb9b809a9003d00",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -4,7 +4,7 @@
kernel = { kernel = {
variant = "latest"; variant = "latest";
hardware = ["amd"]; hardware = ["amd"];
extraKernelParams = []; extraKernelParams = ["fbcon=rotate:1"];
}; };
loader = { loader = {
default = { default = {
@@ -165,7 +165,7 @@
enable = true; enable = true;
}; };
gnome-keyring = { gnome-keyring = {
enable = true; enable = false;
}; };
greetd = { greetd = {
enable = true; enable = true;
@@ -206,6 +206,9 @@
powerd = { powerd = {
enable = false; enable = false;
}; };
psd = {
enable = true;
};
samba = { samba = {
enable = false; enable = false;
}; };

View File

@@ -22,7 +22,7 @@
height = 1080; height = 1080;
refreshRate = 60; refreshRate = 60;
position = "2560x0"; position = "2560x0";
# transform = 3; transform = 3;
workspace = "5"; workspace = "5";
} }
{ {

View File

@@ -107,6 +107,7 @@
./nixos/services/pipewire ./nixos/services/pipewire
./nixos/services/polkit ./nixos/services/polkit
./nixos/services/powerd ./nixos/services/powerd
./nixos/services/psd
./nixos/services/samba ./nixos/services/samba
./nixos/services/scx ./nixos/services/scx
./nixos/services/udisks ./nixos/services/udisks

View File

@@ -44,13 +44,10 @@
boot.kernelModules = ["tcp_bbr"]; boot.kernelModules = ["tcp_bbr"];
security = { security = {
# allow wayland lockers to unlock the screen # pam.services.hyprlock.text = "auth include login";
pam.services.hyprlock.text = "auth include login";
# userland niceness
rtkit.enable = true; rtkit.enable = true;
# don't ask for password for wheel group
sudo.wheelNeedsPassword = false; sudo.wheelNeedsPassword = false;
}; };
} }

View File

@@ -12,7 +12,6 @@
libva libva
vaapiVdpau vaapiVdpau
libvdpau-va-gl libvdpau-va-gl
libGL
]; ];
commonPackages32 = with pkgs.pkgsi686Linux; [ commonPackages32 = with pkgs.pkgsi686Linux; [
@@ -32,7 +31,6 @@
vulkan-tools vulkan-tools
wayland wayland
wayland-protocols wayland-protocols
libGL
]; ];
nvidiaOffloadScript = pkgs.writeShellScriptBin "nvidia-offload" '' nvidiaOffloadScript = pkgs.writeShellScriptBin "nvidia-offload" ''

View File

@@ -32,7 +32,7 @@ in {
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
# package = pkgs.hyprland; package = pkgs.hyprland;
withUWSM = true; withUWSM = true;
}; };
environment.variables.NIXOS_OZONE_WL = "1"; environment.variables.NIXOS_OZONE_WL = "1";

View File

@@ -13,6 +13,7 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.dbus = { services.dbus = {
enable = true; enable = true;
implementation = "broker";
packages = with pkgs; [ packages = with pkgs; [
gcr gcr
]; ];

View File

@@ -0,0 +1,18 @@
{
config,
lib,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.nixos.services.psd;
in {
options = {
nixos.services.psd.enable = mkEnableOption "Enables Profile Sync Daemon";
};
config = mkIf cfg.enable {
services.psd = {
enable = true;
resyncTimer = "10m";
};
};
}

View File

@@ -1,6 +1,5 @@
{ {
imports = [ imports = [
./home.nix ./home.nix
./options.nix
]; ];
} }

View File

@@ -1,18 +0,0 @@
{
monitors = [
{
name = "DVI-D-1";
width = 1920;
height = 1080;
refreshRate = 144;
workspace = "1";
primary = true;
}
];
theme = {
background = {
lockscreen = "wallpaper_2";
desktop = "wallpaper_1";
};
};
}