update
This commit is contained in:
parent
afcc6f22f1
commit
209e9d65c1
8 changed files with 754 additions and 65 deletions
|
|
@ -104,6 +104,8 @@
|
|||
thunderbird
|
||||
saber
|
||||
hplip
|
||||
btop
|
||||
|
||||
];
|
||||
};
|
||||
|
||||
|
|
@ -120,7 +122,8 @@
|
|||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
neovim
|
||||
vivaldi
|
||||
inputs.zen-browser.packages.${pkgs.system}.twilight-official
|
||||
# inputs.zen-browser.packages.${pkgs.system}.twilight-official
|
||||
# inputs.nix-software-center.packages.${system}.nix-software-center
|
||||
kitty
|
||||
libfprint-2-tod1-broadcom
|
||||
usbutils
|
||||
|
|
@ -141,7 +144,7 @@
|
|||
lshw
|
||||
git
|
||||
ethtool
|
||||
protonup
|
||||
protonup-ng
|
||||
bottles
|
||||
vpl-gpu-rt
|
||||
yt-dlp
|
||||
|
|
@ -201,7 +204,7 @@
|
|||
nerd-fonts.jetbrains-mono
|
||||
font-awesome
|
||||
noto-fonts
|
||||
noto-fonts-emoji
|
||||
noto-fonts-color-emoji
|
||||
noto-fonts-cjk-sans
|
||||
];
|
||||
|
||||
|
|
@ -229,5 +232,11 @@
|
|||
package = pkgs.gnomeExtensions.gsconnect;
|
||||
};
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 4d --keep 3";
|
||||
flake = "/home/jose/.dotfiles";
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
268
flake.lock
generated
268
flake.lock
generated
|
|
@ -20,11 +20,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1760101617,
|
||||
"narHash": "sha256-8jf/3ZCi+B7zYpIyV04+3wm72BD7Z801IlOzsOACR7I=",
|
||||
"lastModified": 1761420899,
|
||||
"narHash": "sha256-kxGCip6GNbcbNWKu4J2iKbNYfFTS8Zbjg9CWp0zmFoM=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "aquamarine",
|
||||
"rev": "1826a9923881320306231b1c2090379ebf9fa4f8",
|
||||
"rev": "62479232aae42c1ef09c2c027c8cfd91df060897",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -40,11 +40,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1758887019,
|
||||
"narHash": "sha256-5QDHaIKbmremgFh8Pc9ess59K4HJ5APM8pNgnYzAMno=",
|
||||
"lastModified": 1761712534,
|
||||
"narHash": "sha256-bJgBc/JomRXpvhPyysjTYbv9zzUeRM3KV/Zso29TA70=",
|
||||
"owner": "AdnanHodzic",
|
||||
"repo": "auto-cpufreq",
|
||||
"rev": "52194f4db364347626985fed5372eba2b6109cf4",
|
||||
"rev": "68e91ab0f84a91fa3c40f7459323b0a78e56c2c1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -53,6 +53,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"awww": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1762272610,
|
||||
"narHash": "sha256-cGBrnXop8aa55UV00zZyMhTB6mm6b/vdeBf7A0n7Wr8=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "cb3be3691a65485cddca8bf5e8b0ac6d4a18f13a",
|
||||
"revCount": 1272,
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://codeberg.org/LGFae/awww"
|
||||
}
|
||||
},
|
||||
"base16": {
|
||||
"inputs": {
|
||||
"fromYaml": "fromYaml"
|
||||
|
|
@ -138,6 +158,22 @@
|
|||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1761588595,
|
||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "edolstra",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1747046372,
|
||||
|
|
@ -176,7 +212,7 @@
|
|||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_3"
|
||||
"systems": "systems_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
|
|
@ -254,11 +290,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761395627,
|
||||
"narHash": "sha256-9wQpgBRW2PzYw1wx+MgCt1IbPAYz93csApLMgSZOJCk=",
|
||||
"lastModified": 1762351818,
|
||||
"narHash": "sha256-0ptUDbYwxv1kk/uzEX4+NJjY2e16MaAhtzAOJ6K0TG0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "7296022150cd775917e4c831c393026eae7c2427",
|
||||
"rev": "b959c67241cae17fc9e4ee7eaf13dfa8512477ea",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -356,17 +392,17 @@
|
|||
"hyprlang": "hyprlang",
|
||||
"hyprutils": "hyprutils",
|
||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"pre-commit-hooks": "pre-commit-hooks",
|
||||
"systems": "systems",
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761420962,
|
||||
"narHash": "sha256-W//5GG6aK/61Ht7BHOEQ+fCTpv/Z9o2vjSOrUOEAsW4=",
|
||||
"lastModified": 1762269308,
|
||||
"narHash": "sha256-3fTMnF1E7BsZ7NlmFmPo6+SRFm4FELP45IDLHcGLZ1s=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "6ea4769b39fccec22ae2acd015511a745d378840",
|
||||
"rev": "46b71eda6423cc9c3b19cb310c3344e81ac624c5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -509,11 +545,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1759619523,
|
||||
"narHash": "sha256-r1ed7AR2ZEb2U8gy321/Xcp1ho2tzn+gG1te/Wxsj1A=",
|
||||
"lastModified": 1762208756,
|
||||
"narHash": "sha256-hC1jb4tdjFfEuU18KQiMgz5XPAO+d5SfbjAUS7haLl4=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprutils",
|
||||
"rev": "3df7bde01efb3a3e8e678d1155f2aa3f19e177ef",
|
||||
"rev": "164a30b3d8b3174a32ac7326782476f1188e6118",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -547,29 +583,75 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"nix-software-center": {
|
||||
"inputs": {
|
||||
"nixos-appstream-data": "nixos-appstream-data",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"utils": "utils"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761114652,
|
||||
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c",
|
||||
"lastModified": 1730517716,
|
||||
"narHash": "sha256-hq3jlW5lyT2RkWhJ2/Oo+dt9FXtJ47zDDBBk8A8abMo=",
|
||||
"owner": "snowfallorg",
|
||||
"repo": "nix-software-center",
|
||||
"rev": "216eb549f1ec222c2877d2194f2987527954f2c4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"owner": "snowfallorg",
|
||||
"repo": "nix-software-center",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-appstream-data": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
"nix-software-center",
|
||||
"utils"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nix-software-center",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1712858390,
|
||||
"narHash": "sha256-XE7gr+zU3N4SHPAhsgk8cVAFp1iBg+Lxxp3y4dUF1vE=",
|
||||
"owner": "korfuri",
|
||||
"repo": "nixos-appstream-data",
|
||||
"rev": "0465d42a4433faa63b7a5eb0b8d397937c9fc13a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "korfuri",
|
||||
"ref": "flake",
|
||||
"repo": "nixos-appstream-data",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1761880412,
|
||||
"narHash": "sha256-QoJjGd4NstnyOG4mm4KXF+weBzA2AH/7gn1Pmpfcb0A=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a7fc11be66bdfb5cdde611ee5ce381c183da8386",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1761114652,
|
||||
"narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=",
|
||||
"lastModified": 1762111121,
|
||||
"narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c",
|
||||
"rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -581,15 +663,47 @@
|
|||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1759036355,
|
||||
"narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=",
|
||||
"owner": "nixos",
|
||||
"lastModified": 1692638711,
|
||||
"narHash": "sha256-J0LgSFgJVGCC1+j5R2QndadWI1oumusg6hCtYAzLID4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127",
|
||||
"rev": "91a22f76cd1716f9d0149e8a5c68424bb691de15",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1762111121,
|
||||
"narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1762111121,
|
||||
"narHash": "sha256-4vhDuZ7OZaZmKKrnDpxLZZpGIJvAeMtK6FKLJYUtAdw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b3d51a0365f6695e7dd5cdf3e180604530ed33b4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
|
|
@ -622,7 +736,7 @@
|
|||
},
|
||||
"pre-commit-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-compat": "flake-compat_2",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
|
|
@ -646,15 +760,38 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"auto-cpufreq": "auto-cpufreq",
|
||||
"awww": "awww",
|
||||
"home-manager": "home-manager",
|
||||
"hyprland": "hyprland",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nix-software-center": "nix-software-center",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"stylix": "stylix",
|
||||
"termius": "termius",
|
||||
"vicinae": "vicinae",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"awww",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761964689,
|
||||
"narHash": "sha256-Zo3LQQDz+64EQ9zor/WmeNTFLoZkjmhp0UY3G0D3seE=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "63d22578600f70d293aede6bc737efef60ebd97f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
"inputs": {
|
||||
"base16": "base16",
|
||||
|
|
@ -668,7 +805,7 @@
|
|||
"nixpkgs"
|
||||
],
|
||||
"nur": "nur",
|
||||
"systems": "systems_2",
|
||||
"systems": "systems_3",
|
||||
"tinted-foot": "tinted-foot",
|
||||
"tinted-kitty": "tinted-kitty",
|
||||
"tinted-schemes": "tinted-schemes",
|
||||
|
|
@ -676,11 +813,11 @@
|
|||
"tinted-zed": "tinted-zed"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761028816,
|
||||
"narHash": "sha256-s1XiIeJHpODVWfzsPaK9e21iz1dQSCU3H4/1OxOsyps=",
|
||||
"lastModified": 1762264356,
|
||||
"narHash": "sha256-QVfC53Ri+8n3e7Ujx9kq6all3+TLBRRPRnc6No5qY5w=",
|
||||
"owner": "nix-community",
|
||||
"repo": "stylix",
|
||||
"rev": "b81dc0a385443099e7d231fe6275189e32c3b760",
|
||||
"rev": "647bb8dd96a206a1b79c4fd714affc88b409e10b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -734,6 +871,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"termius": {
|
||||
"locked": {
|
||||
"lastModified": 1753844155,
|
||||
|
|
@ -831,17 +983,35 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1689068808,
|
||||
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"vicinae": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs_3"
|
||||
"nixpkgs": "nixpkgs_5"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761415000,
|
||||
"narHash": "sha256-T8e+DeFV3h2LHqmWE5GusWLRzSq20eDJQh+w3ibnJ2Q=",
|
||||
"lastModified": 1762327833,
|
||||
"narHash": "sha256-mw+2Tylv6otpiXpyN5bBqxrsZvEVYPSKgaNUI2yzazQ=",
|
||||
"owner": "vicinaehq",
|
||||
"repo": "vicinae",
|
||||
"rev": "182fe960e380c81438a2359d90f03fbda749a2f8",
|
||||
"rev": "de12226d691f084bd2033239be8243a11451f3c3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -878,11 +1048,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1760713634,
|
||||
"narHash": "sha256-5HXelmz2x/uO26lvW7MudnadbAfoBnve4tRBiDVLtOM=",
|
||||
"lastModified": 1761431178,
|
||||
"narHash": "sha256-xzjC1CV3+wpUQKNF+GnadnkeGUCJX+vgaWIZsnz9tzI=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "xdg-desktop-portal-hyprland",
|
||||
"rev": "753bbbdf6a052994da94062e5b753288cef28dfb",
|
||||
"rev": "4b8801228ff958d028f588f0c2b911dbf32297f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -899,11 +1069,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1761387499,
|
||||
"narHash": "sha256-YLKFDesY2QA32Vakj1G2jyNuF5oAqQC783TZkMwC2y4=",
|
||||
"lastModified": 1762341281,
|
||||
"narHash": "sha256-lbNi1N90hKCsFNKn7i9CAehyEfohmTHlvztKvTY0pDc=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "4894effc217ff851b5f5caad300b016dff59029e",
|
||||
"rev": "21a72764b637a936a1b2a056082e36c6ceb07aed",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
21
flake.nix
21
flake.nix
|
|
@ -32,6 +32,12 @@
|
|||
hyprland = {
|
||||
url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
nix-software-center = {
|
||||
url = "github:snowfallorg/nix-software-center";
|
||||
};
|
||||
awww = {
|
||||
url = "git+https://codeberg.org/LGFae/awww";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -58,14 +64,15 @@
|
|||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
jose = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./home.nix
|
||||
homeConfigurations = {
|
||||
jose = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
modules = [ ./home.nix
|
||||
vicinae.homeManagerModules.default
|
||||
];
|
||||
};
|
||||
};
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixConfig = {
|
||||
|
|
|
|||
7
home.nix
7
home.nix
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -9,6 +9,8 @@
|
|||
./user/hyprland-home.nix
|
||||
./user/waybar-home.nix
|
||||
./user/vscode.nix
|
||||
./user/swaync-home.nix
|
||||
inputs.zen-browser.homeModules.beta
|
||||
];
|
||||
|
||||
home.username = "jose";
|
||||
|
|
@ -22,6 +24,8 @@
|
|||
|
||||
];
|
||||
|
||||
programs.zen-browser.enable = true;
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
|
|
@ -60,6 +64,7 @@
|
|||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
|
|
|||
13
monitor.txt
Normal file
13
monitor.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
wlr-randr
|
||||
eDP-1 "BOE 0x091D (eDP-1)"
|
||||
Make: BOE
|
||||
Model: 0x091D
|
||||
Physical size: 310x170 mm
|
||||
Enabled: yes
|
||||
Modes:
|
||||
1920x1080 px, 60.001999 Hz (preferred, current)
|
||||
1920x1080 px, 48.000999 Hz
|
||||
Position: 0,0
|
||||
Transform: normal
|
||||
Scale: 1.000000
|
||||
Adaptive Sync: disabled
|
||||
|
|
@ -12,6 +12,28 @@
|
|||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
settings = {
|
||||
General = {
|
||||
Experimental = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
systemd.user.services.mpris-proxy = {
|
||||
description = "Mpris proxy";
|
||||
after = [ "network.target" "sound.target" ];
|
||||
wantedBy = [ "default.target" ];
|
||||
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
|
||||
};
|
||||
|
||||
services.blueman = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [
|
||||
|
|
@ -43,19 +65,25 @@
|
|||
NIXOS_OZONE_WL = "1";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
};
|
||||
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprlock
|
||||
hypridle
|
||||
hyprpaper
|
||||
hyprsunset
|
||||
hyprpicker
|
||||
#waybar
|
||||
inputs.awww.packages.${pkgs.system}.awww
|
||||
brightnessctl
|
||||
# swaynotificationcenter
|
||||
gnome-keyring
|
||||
libsecret
|
||||
seahorse
|
||||
polkit_gnome
|
||||
nautilus
|
||||
bluez
|
||||
papirus-icon-theme
|
||||
gnome-software
|
||||
];
|
||||
|
||||
# polkit
|
||||
|
|
|
|||
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
{
|
||||
services.swaync.enable = true;
|
||||
services.swww = {
|
||||
enable = true;
|
||||
};
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -9,15 +12,16 @@
|
|||
monitor = ",preferred,auto,1";
|
||||
|
||||
"$terminal" = "warp-terminal";
|
||||
"$fileManager" = "dolphin";
|
||||
"$fileManager" = "nautilus";
|
||||
"$menu" = "vicinae toggle";
|
||||
|
||||
"$swaymenu" = "swaync-client -t";
|
||||
exec-once = [
|
||||
"waybar"
|
||||
"vicinae server"
|
||||
"swaync"
|
||||
"gnome-keyring-daemon --start --components=secrets,ssh,pkcs11"
|
||||
|
||||
"hyprsunset"
|
||||
"awww-daemon"
|
||||
];
|
||||
|
||||
env = [
|
||||
|
|
@ -133,7 +137,7 @@
|
|||
"alt, space, exec, $menu"
|
||||
"$mainMod, P, pseudo,"
|
||||
"$mainMod, J, togglesplit,"
|
||||
|
||||
"$mainMod, N, exec, $swaymenu"
|
||||
# Move focus
|
||||
"$mainMod, left, movefocus, l"
|
||||
"$mainMod, right, movefocus, r"
|
||||
|
|
@ -198,6 +202,13 @@
|
|||
"suppressevent maximize, class:.*"
|
||||
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
||||
];
|
||||
|
||||
layerrule = [
|
||||
"blur, swaync-control-center"
|
||||
"ignorezero, swaync-notification-window"
|
||||
"animation slide right, swaync-control-center"
|
||||
"ignorezero, swaync-control-center"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
446
user/swaync-home.nix
Normal file
446
user/swaync-home.nix
Normal file
|
|
@ -0,0 +1,446 @@
|
|||
{ config, pkgs, ...}:
|
||||
{
|
||||
services.swaync.settings = {
|
||||
"$schema" = "/etc/xdg/swaync/configSchema.json";
|
||||
"positionX" = "right";
|
||||
"positionY" = "top";
|
||||
"layer" = "overlay";
|
||||
"control-center-layer" = "top";
|
||||
"layer-shell" = true;
|
||||
"cssPriority" = "application";
|
||||
"control-center-width" = 520;
|
||||
"control-center-margin-top" = 0;
|
||||
"control-center-margin-bottom" = 0;
|
||||
"control-center-margin-right" = 0;
|
||||
"control-center-margin-left" = 0;
|
||||
"notification-2fa-action" = true;
|
||||
"notification-inline-replies" = false;
|
||||
"notification-window-width" = 380;
|
||||
"notification-icon-size" = 48;
|
||||
"notification-body-image-height" = 240;
|
||||
"notification-body-image-width" = 240;
|
||||
"timeout" = 8;
|
||||
"timeout-low" = 4;
|
||||
"timeout-critical" = 0;
|
||||
"fit-to-screen" = true;
|
||||
"keyboard-shortcuts" = true;
|
||||
"image-visibility" = "when-available";
|
||||
"transition-time" = 150;
|
||||
"hide-on-clear" = true;
|
||||
"hide-on-action" = true;
|
||||
"script-fail-notify" = true;
|
||||
"widgets" = [
|
||||
"mpris"
|
||||
"title"
|
||||
"volume"
|
||||
"notifications"
|
||||
"backlight"
|
||||
"buttons-grid"
|
||||
];
|
||||
"widget-config" = {
|
||||
"title" = {
|
||||
"text" = "Notifications";
|
||||
"clear-all-button" = true;
|
||||
"button-text" = "Clear";
|
||||
};
|
||||
"mpris" = {
|
||||
"image-size" = 80;
|
||||
"image-radius" = 10;
|
||||
};
|
||||
"volume" = {
|
||||
"label" = "";
|
||||
"step" = 5;
|
||||
};
|
||||
"backlight" = {
|
||||
"label" = "";
|
||||
"step" = 5;
|
||||
};
|
||||
"buttons-grid" = {
|
||||
"actions" = [
|
||||
{
|
||||
"label" = "";
|
||||
"command" = "kitty nmtui";
|
||||
"tooltip" = "Network";
|
||||
}
|
||||
{
|
||||
"label" = "";
|
||||
"command" = "blueman-manager";
|
||||
"tooltip" = "Bluetooth";
|
||||
}
|
||||
{
|
||||
"label" = "";
|
||||
"command" = "swaync-client -d";
|
||||
"type" = "toggle";
|
||||
"tooltip" = "DND";
|
||||
}
|
||||
{
|
||||
"label" = "";
|
||||
"command" = "gnome-network-displays";
|
||||
"tooltip" = "Screens";
|
||||
}
|
||||
# {
|
||||
# "label" = "";
|
||||
# "command" = "kitty bash -i -c 'Docs'";
|
||||
# "tooltip" = "Files";
|
||||
# }
|
||||
{
|
||||
"label" = "";
|
||||
"command" = "hyprlock";
|
||||
"tooltip" = "Lock";
|
||||
}
|
||||
{
|
||||
"label" = "";
|
||||
"command" = "reboot";
|
||||
"tooltip" = "Reboot";
|
||||
}
|
||||
{
|
||||
"label" = "⏻";
|
||||
"command" = "shutdown now";
|
||||
"tooltip" = "Power Off";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.swaync.style = ''
|
||||
/* ==================================================================
|
||||
SwayNC Refined CSS for Cohesive Visuals - github: @iyiolacak
|
||||
================================================================== */
|
||||
|
||||
/* ── 1. Palette & Globals (Using @define-color) ──────────────────── */
|
||||
|
||||
@define-color theme_fg rgba(248, 248, 252, 0.98); /* Primary Text */
|
||||
@define-color theme_fg_secondary rgba(215, 220, 225, 0.78); /* Secondary Text */
|
||||
@define-color theme_bg rgba(22, 22, 28, 0.22); /* Panel/Background */
|
||||
@define-color popup_bg rgba(20, 25, 25, 0.5); /* Floating Notification Background */
|
||||
@define-color module_bg rgba(20, 20, 20, 0.46); /* Default Module Background */
|
||||
@define-color module_hover_bg rgba(210, 215, 225, 0.35); /* Module Hover */
|
||||
@define-color button_bg rgba(130, 135, 145, 0.28); /* Button Default */
|
||||
@define-color button_hover_bg rgba(150, 155, 165, 0.40); /* Button Hover */
|
||||
@define-color accent_color rgba(10, 132, 255, 0.8); /* Accent Active */
|
||||
@define-color accent_color_hover #198de5; /* Accent Hover */
|
||||
@define-color border_light rgba(255, 255, 255, 0.18);
|
||||
@define-color border_dark rgba(0, 0, 0, 0.06);
|
||||
@define-color border_medium alpha(@border_light, 0.5); /* Approx rgba(255, 255, 255, 0.09) */
|
||||
@define-color icon_primary @theme_fg;
|
||||
@define-color icon_secondary rgba(215, 220, 225, 0.88);
|
||||
@define-color slider_trough_bg rgba(50, 55, 65, 0.35);
|
||||
@define-color slider_thumb_bg white;
|
||||
@define-color close_button_bg rgba(110, 110, 115, 0.15);
|
||||
@define-color close_button_hover_bg rgba(130, 130, 135, 0.30);
|
||||
@define-color mpris_player_bg rgba(0, 0, 0, 0.5);
|
||||
|
||||
/* ── Base Reset ───────────────────────────────────────────────────── */
|
||||
* {
|
||||
font-family: "Inter", "SF Pro Text", sans-serif;
|
||||
font-size: 17px;
|
||||
color: @theme_fg;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
/* ── 2. Control Center Container ─────────────────────────────────── */
|
||||
.control-center {
|
||||
background-color: @theme_bg;
|
||||
border: 1px solid @border_medium;
|
||||
border-top-color: @border_light;
|
||||
border-bottom-color: @border_dark;
|
||||
border-radius: 0px;
|
||||
padding: 28px;
|
||||
min-width: 380px;
|
||||
}
|
||||
|
||||
/* ── 3. Widget Modules ───────────────────────────────────────────── */
|
||||
.widget-mpris,
|
||||
.widget-volume,
|
||||
.widget-backlight,
|
||||
.widget-buttons-grid,
|
||||
.control-center-list > box > *:not(.widget-title) {
|
||||
background-color: @module_bg;
|
||||
border-radius: 18px;
|
||||
padding: 18px;
|
||||
margin-bottom: 14px;
|
||||
border: 1px solid @border_medium;
|
||||
}
|
||||
.widget-volume, .widget-backlight { padding: 14px 18px; }
|
||||
.widget-buttons-grid { padding: 12px; }
|
||||
.control-center > box > *:last-child { margin-bottom: 0; }
|
||||
|
||||
/* Widget Titles */
|
||||
.widget-title {
|
||||
background: transparent;
|
||||
border: none;
|
||||
padding: 4px 6px 12px 6px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.widget-title label {
|
||||
font-family: 'Inter';
|
||||
font-size: 17px;
|
||||
font-weight: 500;
|
||||
color: @theme_fg_secondary;
|
||||
margin-left: 4px;
|
||||
background: none;
|
||||
}
|
||||
.widget-title button {
|
||||
font-family: inherit;
|
||||
font-size: 16px;
|
||||
color: @theme_fg;
|
||||
background-color: @button_bg;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 7px 16px;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
.widget-title button:hover,
|
||||
.widget-title button:active {
|
||||
background-color: @button_hover_bg;
|
||||
}
|
||||
|
||||
/* ── 4. MPRIS Widget ────────────────────────────────────────────── */
|
||||
.widget-mpris {
|
||||
padding: 0;
|
||||
border: none;
|
||||
|
||||
border-radius: 18px;
|
||||
background: transparent;
|
||||
}
|
||||
.widget-mpris .widget-mpris-player {
|
||||
background-color: @mpris_player_bg;
|
||||
border-radius: 12px;
|
||||
border: 1px solid @border_medium;
|
||||
padding: 16px;
|
||||
}
|
||||
.widget-mpris .widget-mpris-album-art {
|
||||
background: none;
|
||||
min-width: 60px;
|
||||
min-height: 60px;
|
||||
border-radius: 16px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
.widget-mpris .widget-mpris-title {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: @theme_fg;
|
||||
margin-bottom: 4px;
|
||||
background: none;
|
||||
}
|
||||
.widget-mpris .widget-mpris-subtitle {
|
||||
font-size: 16px;
|
||||
color: @theme_fg_secondary;
|
||||
background: none;
|
||||
}
|
||||
.widget-mpris .widget-mpris-player button {
|
||||
all: unset;
|
||||
background: transparent;
|
||||
border-radius: 50%;
|
||||
padding: 7px;
|
||||
color: @icon_secondary;
|
||||
font-size: 16px;
|
||||
min-width: 34px;
|
||||
min-height: 34px;
|
||||
transition: background-color 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
.widget-mpris .widget-mpris-player button:hover {
|
||||
background-color: @button_hover_bg;
|
||||
color: @icon_primary;
|
||||
}
|
||||
.widget-mpris .widget-mpris-player button:disabled {
|
||||
color: alpha(@icon_secondary, 0.3);
|
||||
}
|
||||
|
||||
/* ── 5. Sliders (Volume, Backlight) ─────────────────────────────── */
|
||||
.widget-volume label, .widget-backlight label {
|
||||
font-size: 24px;
|
||||
color: @icon_primary;
|
||||
min-width: 24px;
|
||||
margin-right: 14px;
|
||||
}
|
||||
scale trough {
|
||||
min-height: 12px;
|
||||
border-radius: 6px;
|
||||
background-color: @slider_trough_bg;
|
||||
}
|
||||
scale trough progress {
|
||||
min-height: 12px;
|
||||
border-radius: 6px;
|
||||
background-color: @accent_color;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
scale:hover trough progress {
|
||||
background-color: @accent_color;
|
||||
}
|
||||
trough highlight {
|
||||
padding: 5px;
|
||||
background: @accent_color;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 0 5px rgba(0, 0, 0, .5);
|
||||
transition: all 0.7s ease;
|
||||
}
|
||||
scale slider {
|
||||
min-width: 14px;
|
||||
min-height: 14px;
|
||||
border-radius: 7px;
|
||||
background-color: @slider_thumb_bg;
|
||||
}
|
||||
|
||||
/* ── 6. Button Grid ─────────────────────────────────────────────── */
|
||||
.widget-buttons-grid > flowbox {
|
||||
padding: 0;
|
||||
background: none;
|
||||
}
|
||||
.widget-buttons-grid > flowbox > flowboxchild {
|
||||
padding: 3px;
|
||||
background: none;
|
||||
}
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button {
|
||||
background-color: rgba(0,0,0, 0.7);
|
||||
border-radius: 66px;
|
||||
padding: 14px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
color: @icon_secondary;
|
||||
transition: background-color 0.15s ease, color 0.15s ease;
|
||||
}
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button:hover {
|
||||
background-color: rgba(20,20,20, 0.45);
|
||||
color: @icon_primary;
|
||||
}
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked {
|
||||
background-color: @accent_color;
|
||||
color: white;
|
||||
}
|
||||
.widget-buttons-grid > flowbox > flowboxchild > button.toggle:checked:hover {
|
||||
background-color: @accent_color_hover;
|
||||
}
|
||||
|
||||
/* ── 7. Notification Center ─────────────────────────────────────── */
|
||||
.control-center-list {
|
||||
padding-bottom: 1px;
|
||||
background-color: transparent;
|
||||
}
|
||||
.control-center .notification-row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.control-center .notification-background {
|
||||
background-color: @module_bg;
|
||||
border: 1px solid @border_medium;
|
||||
padding: 16px;
|
||||
border-radius: 18px;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
.control-center .notification-row:hover .notification-background {
|
||||
|
||||
border-radius: 18px;
|
||||
background-color: @module_hover_bg;
|
||||
}
|
||||
.control-center .notification .summary {
|
||||
font-weight: 600;
|
||||
color: @theme_fg;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.control-center .notification .body {
|
||||
|
||||
color: @theme_fg_secondary;
|
||||
}
|
||||
.control-center .notification .time {
|
||||
font-size: 15px;
|
||||
font-weight: 500;
|
||||
color: @theme_fg_secondary;
|
||||
margin-left: 12px;
|
||||
}
|
||||
.control-center .close-button {
|
||||
background-color: @close_button_bg;
|
||||
border-radius: 50%;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
.control-center .close-button:hover {
|
||||
background-color: @close_button_hover_bg;
|
||||
}
|
||||
.control-center .close-button image {
|
||||
margin-right: 12px; /* Adjust this value for desired spacing */
|
||||
color: @icon_secondary;
|
||||
}
|
||||
|
||||
.control-center .notification image {
|
||||
margin-right: 12px; /* Space between image and text */
|
||||
min-width: 36px; /* Define a minimum width */
|
||||
min-height: 36px; /* Define a minimum height */
|
||||
/* Add or adjust the border-radius property here */
|
||||
border-radius: 8px; /* <<< THIS LINE controls the rounding */
|
||||
}
|
||||
/* ── 8. Floating Notifications ─────────────────────────────────── */
|
||||
.floating-notifications .notification-row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.floating-notifications .notification-background {
|
||||
background-color: @popup_bg;
|
||||
border: 1px solid @border_light;
|
||||
border-radius: 18px;
|
||||
padding: 18px;
|
||||
margin: 8px 14px;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
.floating-notifications .notification-row:hover .notification-background {
|
||||
background-color: alpha(@popup_bg, 1.1);
|
||||
}
|
||||
.floating-notifications .notification .summary {
|
||||
font-weight: 700;
|
||||
color: @theme_fg;
|
||||
}
|
||||
.floating-notifications .notification .body {
|
||||
color: @theme_fg;
|
||||
}
|
||||
.floating-notifications .notification .time {
|
||||
font-size: 15px;
|
||||
color: @icon_secondary;
|
||||
margin-left: 10px;
|
||||
}
|
||||
.floating-notifications .notification image {
|
||||
min-width: 48px;
|
||||
min-height: 48px;
|
||||
margin-right: 14px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.floating-notifications .close-button {
|
||||
background-color: @close_button_bg;
|
||||
border-radius: 50%;
|
||||
min-width: 28px;
|
||||
min-height: 28px;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
.floating-notifications .close-button:hover {
|
||||
background-color: @close_button_hover_bg;
|
||||
}
|
||||
.floating-notifications .close-button image {
|
||||
margin-right: 12px; /* Adjust this value for desired spacing */
|
||||
color: @icon_secondary;
|
||||
}
|
||||
.floating-notifications .notification-alt-actions {
|
||||
margin-top: 16px;
|
||||
padding-top: 16px;
|
||||
border-top: 1px solid @border_medium;
|
||||
}
|
||||
.floating-notifications .notification-action button,
|
||||
.floating-notifications .notification-alt-actions button {
|
||||
font-size: 16px;
|
||||
color: @theme_fg;
|
||||
background-color: @button_bg;
|
||||
border-radius: 12px;
|
||||
padding: 8px 18px;
|
||||
transition: background-color 0.15s ease;
|
||||
}
|
||||
.floating-notifications .notification-action button:hover,
|
||||
.floating-notifications .notification-alt-actions button:hover {
|
||||
background-color: @button_hover_bg;
|
||||
}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue