This commit is contained in:
dusk 2023-01-25 16:57:18 +03:00
parent 4dadff4f5f
commit 965f163605
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
5 changed files with 74 additions and 62 deletions

View File

@ -83,7 +83,7 @@
"catppuccin-discord": { "catppuccin-discord": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-nOcvRDZ9aa5MZwE77YqOUytw/mQTWqL6t/rrGp/Zw3A=", "narHash": "sha256-YmYtVcJ36luqXiDjjZfgqMnt+VU/b98lB9RWREO+B6E=",
"type": "file", "type": "file",
"url": "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css" "url": "https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css"
}, },
@ -330,11 +330,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1670426053, "lastModified": 1672946489,
"narHash": "sha256-OrFeZuwiiw+pIwhB+VaYzgUJu3CDaXkv0eYIXVDUnPs=", "narHash": "sha256-IliWerC9qk4MxYNRoe/8uuQZkqjPJPsph46fmVBvo9U=",
"owner": "elkowar", "owner": "elkowar",
"repo": "eww", "repo": "eww",
"rev": "678e4dbc6b6439bf50898ae2b13fcc65900c439c", "rev": "6a64a286291456984011c4fb160def106ee55dff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -494,11 +494,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1672188940, "lastModified": 1673370657,
"narHash": "sha256-/YZd3qI7XCzB+09FjabAPA4zdJ1FgxDmP+9f3E9Xigk=", "narHash": "sha256-hFIeQRTM8z2piobPzsxcHmdW5UpIR2z+/3OZ1GG88zI=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "7ac72a39cbcaeda31c717418bde068f9bfc32d0e", "rev": "0374350225c1d56a5d2c78b23bc393005733618b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -515,11 +515,11 @@
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1671966569, "lastModified": 1673343300,
"narHash": "sha256-jbLgfSnmLchARBNFRvCic63CFQ9LAyvlXnBpc2kwjQc=", "narHash": "sha256-5Xdj6kpXYMie0MlnGwqK5FaMdsedxvyuakWtyKB3zaQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "c55fa26ce05fee8e063db22918d05a73d430b2ea", "rev": "176e455371a8371586e8a3ff0d56ee9f3ca2324e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -539,11 +539,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1672151321, "lastModified": 1673374919,
"narHash": "sha256-HB3UKHbhA914eqWbqFyNv48JBTuaELK8aWErRv6PEUU=", "narHash": "sha256-8OctRcjx3ko4WfFYNPGppkkiLfThTWkYqORKtBhxoFM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "d64fc7d336a459f497df8f2e0aada989d4ed1e96", "rev": "4ec034ad49d1f03ec4cd68ca0a09e2f781166b16",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -573,29 +573,18 @@
} }
}, },
"hyprland-protocols": { "hyprland-protocols": {
"flake": false, "inputs": {
"locked": { "nixpkgs": [
"lastModified": 1670703428, "hyprland",
"narHash": "sha256-4KUW5SKR0Y9uaYGcYwy53YJ3B/sgiprCL4fRGO+mpOA=", "nixpkgs"
"owner": "hyprwm", ]
"repo": "hyprland-protocols",
"rev": "d0d6db8cb5bef6d93ca3ad8fb2124964173396da",
"type": "github"
}, },
"original": {
"owner": "hyprwm",
"repo": "hyprland-protocols",
"type": "github"
}
},
"hyprland-protocols_2": {
"flake": false,
"locked": { "locked": {
"lastModified": 1670703428, "lastModified": 1671839510,
"narHash": "sha256-4KUW5SKR0Y9uaYGcYwy53YJ3B/sgiprCL4fRGO+mpOA=", "narHash": "sha256-+PY1qqJfmZzzROgcIY4I7AkCwpnC+qBIYk2eFoA9RWc=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprland-protocols", "repo": "hyprland-protocols",
"rev": "d0d6db8cb5bef6d93ca3ad8fb2124964173396da", "rev": "b8f55e02a328c47ed373133c52483bbfa20a1b75",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -664,11 +653,11 @@
"rust-overlay": "rust-overlay_4" "rust-overlay": "rust-overlay_4"
}, },
"locked": { "locked": {
"lastModified": 1671916144, "lastModified": 1672668722,
"narHash": "sha256-TLcfy7T0Q2crxAp0jVXghJXGYzlBgjrZbOYIxGxAnN8=", "narHash": "sha256-i1MidLitMVa4k9UFbzdVoRyKy8y2NmYxVcVZdrdMEjw=",
"owner": "oxalica", "owner": "oxalica",
"repo": "nil", "repo": "nil",
"rev": "cac705a23380f7de79302c7d6850ddfdf29de70d", "rev": "0eff7fc333e3c0c064a6339834b44feae00fe64a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -683,11 +672,11 @@
"nixpkgs-lib": "nixpkgs-lib_2" "nixpkgs-lib": "nixpkgs-lib_2"
}, },
"locked": { "locked": {
"lastModified": 1670210028, "lastModified": 1672236234,
"narHash": "sha256-2VpxobYICB+l6n963nR37r0ongTtvHfHQvsPGgMWDmw=", "narHash": "sha256-dpBIuxcDEvJbLD8fTipE0A0JbQD1lZB94zYFPoh01PI=",
"owner": "Misterio77", "owner": "Misterio77",
"repo": "nix-colors", "repo": "nix-colors",
"rev": "fcd345bd1c9e7c203c3320ee6ca39814c97ac1fe", "rev": "7e459f1d88ac54fc2f4b308adb5064863006e4b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -718,11 +707,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1671631481, "lastModified": 1673336835,
"narHash": "sha256-LP6NvQQNKdqDpXngECo6oCiWfYRb0KPGM5+D5lu7mPw=", "narHash": "sha256-HMJ/Nt3+0MtgKfPfJSrC3/6yVAPQvZgv/7V9b49dG/c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9577ab1eaf01a738b015a7a7ab2a4616e158b6cd", "rev": "df029cfefc7494b399966cbb6b4fd692fa294fa3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -798,11 +787,11 @@
"nixpkgs-wayland": { "nixpkgs-wayland": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1672153978, "lastModified": 1673355450,
"narHash": "sha256-rFiIzQeL9HxvJs6gYJBl17SiPh7NMJhgPZuHX6jKmLE=", "narHash": "sha256-bnBsZbDfmtKxUkbLYhl1dDIL8jYRB4AquZdRVkgfrAw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "7c3f4a240652974c38060db8b502b543b90cf734", "rev": "98daa89f0d51c540ac56a31d7841fa48bd8b426b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -845,11 +834,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1671983799, "lastModified": 1673226411,
"narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=", "narHash": "sha256-b6cGb5Ln7Zy80YO66+cbTyGdjZKtkoqB/iIIhDX9gRA=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836", "rev": "aa1d74709f5dac623adb4d48fdfb27cc2c92a4d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -861,11 +850,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1672202773, "lastModified": 1673379985,
"narHash": "sha256-S/AoF4lM7p5NR6p5EOdzQjcnj5bQC6SYsnMjbrkspKM=", "narHash": "sha256-hhpNcVO6GkgSjIbgNc3tTLyIcvQByyY2VJhKye7kQVc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "db78e77d8a1412a8f65ef29ba56f6bfc7adcc14a", "rev": "2c47b2a0053cdb36cc08353f79eebf7a055fa18f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -966,11 +955,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1670552927, "lastModified": 1672280602,
"narHash": "sha256-lCE51eAGrAFS4k9W5aDGFpVtOAwQQ/rFMN80PCDh0vo=", "narHash": "sha256-aBO2MgTv8Pj24j+q0BKFHV5XmAuAn6+iw7AVNW4wUxc=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "a0fdafd18c9cf599fde17fbaf07dbb20fa57eecb", "rev": "ede977678e5d0164316998487e686d0790744cd7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1015,11 +1004,11 @@
"flake": false, "flake": false,
"locked": { "locked": {
"host": "gitlab.freedesktop.org", "host": "gitlab.freedesktop.org",
"lastModified": 1671723353, "lastModified": 1671183014,
"narHash": "sha256-G1jiI0SA7eiZusO+iJytErMRNbKbwqJJJGL+sNoBNoQ=", "narHash": "sha256-oMWT5Zbe/3HFINAk38jNVxiZ4PCYvPJj2Jo4iiyBtm0=",
"owner": "wlroots", "owner": "wlroots",
"repo": "wlroots", "repo": "wlroots",
"rev": "b28a9afd4b0b86e9a66a40f6b44b69f59947b7d6", "rev": "dc7cc98cf21a8dc19ab8895505500e3700646af0",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -1031,18 +1020,21 @@
}, },
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols_2", "hyprland-protocols": [
"hyprland",
"hyprland-protocols"
],
"nixpkgs": [ "nixpkgs": [
"hyprland", "hyprland",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1671837878, "lastModified": 1673116118,
"narHash": "sha256-OmFDyktTc/l+3wHboHeFpAQgPt3r7jjqZf8MrwuUGMo=", "narHash": "sha256-eR0yDSkR2XYMesfdRWJs25kAdXET2mbNNHu5t+KUcKA=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland", "repo": "xdg-desktop-portal-hyprland",
"rev": "e47f4cec698080768821b271510985ab94a37e91", "rev": "d479c846531fd0e1d2357c9588b8310a2b859ef2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -20,6 +20,7 @@ in {
(mkRule "ld" "BG_CPUIO") (mkRule "ld" "BG_CPUIO")
(mkRule "gold" "BG_CPUIO") (mkRule "gold" "BG_CPUIO")
(mkRule "rustc" "BG_CPUIO") (mkRule "rustc" "BG_CPUIO")
(mkRule "zig" "BG_CPUIO")
(mkRule "cargo" "BG_CPUIO") (mkRule "cargo" "BG_CPUIO")
(mkRule "rust-analyzer" "BG_CPUIO") (mkRule "rust-analyzer" "BG_CPUIO")
(mkRule "go" "BG_CPUIO") (mkRule "go" "BG_CPUIO")
@ -31,11 +32,16 @@ in {
# browser # browser
(mkRule "firefox" "Doc-View") (mkRule "firefox" "Doc-View")
(mkRule ".firefox-wrapped" "Doc-View") (mkRule ".firefox-wrapped" "Doc-View")
(mkRule "chromium" "Doc-View")
(mkRule ".chromium-wrapped" "Doc-View")
# wm # wm
(mkRule ".gnome-shell-wrapped" "LowLatency_RT") (mkRule ".gnome-shell-wrapped" "LowLatency_RT")
(mkRule "gnome-shell" "LowLatency_RT") (mkRule "gnome-shell" "LowLatency_RT")
(mkRule "Hyprland" "LowLatency_RT") (mkRule "Hyprland" "LowLatency_RT")
(mkRule "sway" "LowLatency_RT")
(mkRule ".sway-wrapped" "LowLatency_RT")
(mkRule "rofi" "LowLatency_RT") (mkRule "rofi" "LowLatency_RT")
(mkRule ".rofi-wrapped" "LowLatency_RT")
(mkRule "wlsunset" "BG_CPUIO") (mkRule "wlsunset" "BG_CPUIO")
(mkRule "swayidle" "BG_CPUIO") (mkRule "swayidle" "BG_CPUIO")
# term # term

View File

@ -1,3 +1,4 @@
{ {
imports = [./networkmanager]; imports = [./networkmanager];
systemd.network.wait-online.enable = false;
} }

View File

@ -1,4 +1,7 @@
{ {
imports = [../dns ../iwd]; imports = [../dns ../iwd];
networking.networkmanager.enable = true; networking.networkmanager = {
enable = true;
wifi.powersave = true;
};
} }

View File

@ -86,10 +86,19 @@
"XF86MonBrightnessDown" = "exec ${light} -T 0.72"; "XF86MonBrightnessDown" = "exec ${light} -T 0.72";
}; };
input = { input = {
"*" = { "type:keyboard" = {
xkb_layout = nixosConfig.services.xserver.layout; xkb_layout = nixosConfig.services.xserver.layout;
};
"type:pointer" = {
accel_profile = "flat"; accel_profile = "flat";
}; };
"type:touchpad" = {
accel_profile = "adaptive";
tap = "enabled";
scroll_method = "edge";
dwt = "enabled";
events = "disabled_on_external_mouse";
};
}; };
output = { output = {
"*" = { "*" = {
@ -97,6 +106,7 @@
}; };
"eDP-1" = { "eDP-1" = {
scale = "2"; scale = "2";
adaptive_sync = "on";
}; };
"HDMI-A-1" = { "HDMI-A-1" = {
mode = "1920x1080@74.973Hz"; mode = "1920x1080@74.973Hz";