Compare commits
49 Commits
a2c8c6e4d6
...
north
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dffd47fa94 | ||
|
|
70b3d92fb1 | ||
|
|
93bcb23085 | ||
|
|
bb60da2409 | ||
|
|
6b33a71dd3 | ||
|
|
63e68509e3 | ||
|
|
152a42db08 | ||
|
|
71fba2ade8 | ||
|
|
4ad5da9956 | ||
|
|
2fc38d5ee7 | ||
|
|
03d3741aed | ||
|
|
813a3fd019 | ||
|
|
c9f988e4e4 | ||
|
|
ec0325a8b0 | ||
|
|
3205ca267b | ||
|
|
84a92a304a | ||
|
|
a7ffa9425a | ||
|
|
b3f33edf19 | ||
|
|
295277ad00 | ||
|
|
7356853a1d | ||
|
|
a20d64e278 | ||
|
|
ae997e92aa | ||
|
|
8394da19df | ||
|
|
bf3ac16c62 | ||
|
|
981d72cdb7 | ||
|
|
f6afb7d9e6 | ||
|
|
cc9dd87111 | ||
|
|
c4e7371e22 | ||
|
|
58e6dc97f4 | ||
|
|
9cb5a17bc1 | ||
|
|
e07e98120a | ||
|
|
6b9190b8e1 | ||
|
|
368f3a25fd | ||
|
|
708efdefb8 | ||
|
|
a791568530 | ||
|
|
4a003baae2 | ||
|
|
a5b4fe2c3f | ||
|
|
8280a0d245 | ||
|
|
086f52da79 | ||
|
|
a0911caacf | ||
|
|
7f01722448 | ||
|
|
6914a99658 | ||
|
|
de3973b4e4 | ||
|
|
b8c1c7f302 | ||
|
|
d0b95bce88 | ||
|
|
85ec6f4c7c | ||
|
|
4d88ea7cbc | ||
|
|
39e1806e7e | ||
|
|
2513906a22 |
@@ -1,6 +1,4 @@
|
||||
{ pkgs, pkgs-unstable, rice, inputs, ... }:
|
||||
let
|
||||
in
|
||||
{ pkgs, pkgs-unstable, lib, inputs, allowed, nvidia, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
@@ -9,20 +7,24 @@ in
|
||||
./system-modules/nvidia.nix
|
||||
./system-modules/users.nix
|
||||
./system-modules/sound.nix
|
||||
./system-modules/fonts.nix
|
||||
./system-modules/boot.nix
|
||||
./system-modules/gc.nix
|
||||
./system-modules/dm.nix
|
||||
./system-modules/networking.nix
|
||||
./system-modules/virtualisation.nix
|
||||
# ./system-modules/virtualisation.nix
|
||||
./system-modules/sshd.nix
|
||||
./system-modules/gpg.nix
|
||||
./system-modules/sops.nix
|
||||
./system-modules/syncthing.nix
|
||||
# ./system-modules/hsmw.nix # old
|
||||
./system-modules/hsmw.nix # old
|
||||
./system-modules/docker.nix
|
||||
./system-modules/health_reminder.nix
|
||||
./system-modules/ydotool.nix
|
||||
./system-modules/ollama.nix
|
||||
./system-modules/nx2site.nix
|
||||
./system-modules/kodi.nix
|
||||
./system-modules/qmk.nix
|
||||
];
|
||||
|
||||
|
||||
@@ -51,20 +53,27 @@ in
|
||||
security.rtkit.enable = true;
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.xserver.libinput.enable = true;
|
||||
services.libinput.enable = true;
|
||||
hardware.uinput.enable = true;
|
||||
|
||||
hardware.bluetooth.enable = true; # enables support for Bluetooth
|
||||
hardware.bluetooth.powerOnBoot = true; #
|
||||
services.blueman.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) allowed.unfree-packages;
|
||||
|
||||
# nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config = {
|
||||
# allowUnfree = true;
|
||||
# allowUnfreePredicate = (pkg: true);
|
||||
allowUnfreePredicate = let
|
||||
string-list = allowed.unfree-packages ++ (if nvidia.enable == true then nvidia.unfree else []);
|
||||
in pkg: builtins.elem (lib.getName pkg) string-list;
|
||||
cudaSupport = nvidia.enable;
|
||||
enableParallelBuildingByDefault = true;
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = with pkgs; ([
|
||||
git
|
||||
lazygit # home-manager module is bugged
|
||||
git-crypt
|
||||
@@ -82,8 +91,8 @@ in
|
||||
blueman
|
||||
dmidecode
|
||||
file
|
||||
] ++ (with pkgs-unstable; [
|
||||
sendme
|
||||
# ]) ++ (with pkgs-unstable; [
|
||||
# # sendme
|
||||
]);
|
||||
|
||||
environment.variables = {
|
||||
@@ -91,22 +100,6 @@ in
|
||||
VISUAL = "hx";
|
||||
};
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk
|
||||
noto-fonts-emoji
|
||||
] ++ (with rice.font; [
|
||||
base.package
|
||||
code.package
|
||||
]) ++ (with pkgs-unstable; [
|
||||
newcomputermodern
|
||||
]);
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
|
||||
programs.hyprland = {
|
||||
# config is done with home-manager
|
||||
@@ -118,7 +111,6 @@ in
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
||||
programs.bash.shellInit = ''
|
||||
source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
|
||||
'';
|
||||
|
||||
220
flake.lock
generated
@@ -1,5 +1,25 @@
|
||||
{
|
||||
"nodes": {
|
||||
"Hyprspace": {
|
||||
"inputs": {
|
||||
"hyprland": [
|
||||
"hyprland"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1718642173,
|
||||
"narHash": "sha256-iyj4D6c77uROAH9QdZjPd9SKnS/DuACMESqaEKnBgI8=",
|
||||
"owner": "KZDKM",
|
||||
"repo": "Hyprspace",
|
||||
"rev": "2f3edb68f47a8f5d99d10b322e9a85a285f53cc7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "KZDKM",
|
||||
"repo": "Hyprspace",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
@@ -42,11 +62,11 @@
|
||||
},
|
||||
"locked": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"lastModified": 1717931498,
|
||||
"narHash": "sha256-8j6h9gZmAngPXLFRRtd8ySRb0I43f0rRW0puU8IBwKA=",
|
||||
"lastModified": 1719875691,
|
||||
"narHash": "sha256-DtfpH7yivPHcfXV0EL70NwCKlg6nVTZGNngWkPshQjM=",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"rev": "3b7b7d83b3561269c2d8f20b5d4d4496bb36b2e6",
|
||||
"rev": "f2c6c0e41d6c2c82524b9d104bcfd1750a426d1b",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
@@ -73,6 +93,24 @@
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719877454,
|
||||
"narHash": "sha256-g5N1yyOSsPNiOlFfkuI/wcUjmtah+nxdImJqrSATjOU=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "4e3583423212f9303aa1a6337f8dffb415920e4f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"lanzaboote",
|
||||
@@ -155,11 +193,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717527182,
|
||||
"narHash": "sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A=",
|
||||
"lastModified": 1719827385,
|
||||
"narHash": "sha256-qs+nU20Sm8czHg3bhGCqiH+8e13BJyRrKONW34g3i50=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "845a5c4c073f74105022533907703441e0464bc3",
|
||||
"rev": "391ca6e950c2525b4f853cbe29922452c14eda82",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -185,11 +223,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717181720,
|
||||
"narHash": "sha256-yv+QZWsusu/NWjydkxixHC2g+tIJ9v+xkE2EiVpJj6g=",
|
||||
"lastModified": 1718450675,
|
||||
"narHash": "sha256-jpsns6buS4bK+1sF8sL8AaixAiCRjA+nldTKvcwmvUs=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprcursor",
|
||||
"rev": "9e27a2c2ceb1e0b85bd55b0afefad196056fe87c",
|
||||
"rev": "66d5b46ff94efbfa6fa3d1d1b66735f1779c34a6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -202,17 +240,18 @@
|
||||
"inputs": {
|
||||
"hyprcursor": "hyprcursor",
|
||||
"hyprlang": "hyprlang",
|
||||
"hyprutils": "hyprutils",
|
||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"systems": "systems",
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717960589,
|
||||
"narHash": "sha256-0fPh9sFwzWbvDTTY6omTrYk2r9nBz7e4AzGH6HlRLCo=",
|
||||
"lastModified": 1719938427,
|
||||
"narHash": "sha256-b0QtvQtFAtuOVBNPEUYf4V2VNGChTukkrLH/JlCQds8=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "121c6ac3eae1601a1498e52a9be7030ebfed242c",
|
||||
"revCount": 4788,
|
||||
"rev": "6247a6b537fd1c05ecf35420529fab1adf83143e",
|
||||
"revCount": 4903,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/hyprwm/Hyprland"
|
||||
@@ -228,6 +267,11 @@
|
||||
"hyprland": [
|
||||
"hyprland"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"hyprland-plugins",
|
||||
"hyprland",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": [
|
||||
"hyprland-plugins",
|
||||
"hyprland",
|
||||
@@ -235,11 +279,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717837954,
|
||||
"narHash": "sha256-chdXRv+JoiLQ9xwwq4q14X14em94VQaxk+tzkxRnQ5c=",
|
||||
"lastModified": 1719784423,
|
||||
"narHash": "sha256-D7O5+nh2Wn9tQPJArWHrDSZeEfBCtj5zTGd86701LPE=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-plugins",
|
||||
"rev": "8571aa9badf7db9c4911018a5611c038cc776256",
|
||||
"rev": "98cb18c6fcfe8196ef4150d09fbae305b7bb2954",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -262,11 +306,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1691753796,
|
||||
"narHash": "sha256-zOEwiWoXk3j3+EoF3ySUJmberFewWlagvewDRuWYAso=",
|
||||
"lastModified": 1714869498,
|
||||
"narHash": "sha256-vbLVOWvQqo4n1yvkg/Q70VTlPbMmTiCQfNTgcWDCfJM=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-protocols",
|
||||
"rev": "0c2ce70625cb30aef199cb388f99e19a61a6ce03",
|
||||
"rev": "e06482e0e611130cd1929f75e8c1cf679e57d161",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -276,6 +320,55 @@
|
||||
}
|
||||
},
|
||||
"hyprlang": {
|
||||
"inputs": {
|
||||
"hyprutils": [
|
||||
"hyprland",
|
||||
"hyprutils"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": [
|
||||
"hyprland",
|
||||
"systems"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717881852,
|
||||
"narHash": "sha256-XeeVoKHQgfKuXoP6q90sUqKyl7EYy3ol2dVZGM+Jj94=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprlang",
|
||||
"rev": "ec6938c66253429192274d612912649a0cfe4d28",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprlang",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprswitch": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719780938,
|
||||
"narHash": "sha256-YocumFkp3FCgN3UCXp95EV7IvAwhQdlSav8cCB0oHv0=",
|
||||
"owner": "h3rmt",
|
||||
"repo": "hyprswitch",
|
||||
"rev": "4dbba183fcbaa63de64e973d5dc9bba883765aa3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "h3rmt",
|
||||
"ref": "release",
|
||||
"repo": "hyprswitch",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprutils": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
@@ -287,16 +380,16 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716473782,
|
||||
"narHash": "sha256-+qLn4lsHU6iL3+HTo1gTQ1tWzet8K9h+IfVemzEQZj8=",
|
||||
"lastModified": 1719316102,
|
||||
"narHash": "sha256-dmRz128j/lJmMuTYeCYPfSBRHHQO3VeH4PbmoyAhHzw=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprlang",
|
||||
"rev": "87d5d984109c839482b88b4795db073eb9ed446f",
|
||||
"repo": "hyprutils",
|
||||
"rev": "1f6bbec5954f623ff8d68e567bddcce97cd2f085",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprlang",
|
||||
"repo": "hyprutils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
@@ -312,11 +405,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717784906,
|
||||
"narHash": "sha256-YxmfxHfWed1fosaa7fC1u7XoKp1anEZU+7Lh/ojRKoM=",
|
||||
"lastModified": 1719067853,
|
||||
"narHash": "sha256-mAnZG/eQy72Fp1ImGtqCgUrDumnR1rMZv2E/zgP4U74=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprwayland-scanner",
|
||||
"rev": "0f30f9eca6e404130988554accbb64d1c9ec877d",
|
||||
"rev": "914f083741e694092ee60a39d31f693d0a6dc734",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -329,9 +422,9 @@
|
||||
"inputs": {
|
||||
"crane": "crane",
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"flake-parts": "flake-parts_2",
|
||||
"flake-utils": "flake-utils_2",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"pre-commit-hooks-nix": "pre-commit-hooks-nix",
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
@@ -352,11 +445,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1717602782,
|
||||
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=",
|
||||
"lastModified": 1719075281,
|
||||
"narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6",
|
||||
"rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -366,6 +459,18 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1719876945,
|
||||
"narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=",
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
|
||||
}
|
||||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1678872516,
|
||||
@@ -384,11 +489,11 @@
|
||||
},
|
||||
"nixpkgs-stable_2": {
|
||||
"locked": {
|
||||
"lastModified": 1717880976,
|
||||
"narHash": "sha256-BRvSCsKtDUr83NEtbGfHLUOdDK0Cgbezj2PtcHnz+sQ=",
|
||||
"lastModified": 1719663039,
|
||||
"narHash": "sha256-tXlrgAQygNIy49LDVFuPXlWD2zTQV9/F8pfoqwwPJyo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "4913a7c3d8b8d00cb9476a6bd730ff57777f740c",
|
||||
"rev": "4a1e673523344f6ccc84b37f4413ad74ea19a119",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -400,11 +505,11 @@
|
||||
},
|
||||
"nixpkgs-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1717786204,
|
||||
"narHash": "sha256-4q0s6m0GUcN7q+Y2DqD27iLvbcd1G50T2lv08kKxkSI=",
|
||||
"lastModified": 1719848872,
|
||||
"narHash": "sha256-H3+EC5cYuq+gQW8y0lSrrDZfH71LB4DAf+TDFyvwCNA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "051f920625ab5aabe37c920346e3e69d7d34400e",
|
||||
"rev": "00d80d13810dbfea8ab4ed1009b09100cca86ba8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -414,6 +519,21 @@
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1711588226,
|
||||
"narHash": "sha256-nd7goEu+nH/WZ/uCxvbWzSYqzZZn25kWTeKfANOhCjU=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7232f19f7fb710e3554cafaa9d8e93cff8273b59",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"locked": {
|
||||
"lastModified": 1682741954,
|
||||
"narHash": "sha256-RPZxzRu8XU0YD2WeYUFYzJy5yAvWUsxkuK+zWw+6WVk=",
|
||||
@@ -429,13 +549,13 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_3": {
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1717696253,
|
||||
"narHash": "sha256-1+ua0ggXlYYPLTmMl3YeYYsBXDSCqT+Gw3u6l4gvMhA=",
|
||||
"lastModified": 1719838683,
|
||||
"narHash": "sha256-Zw9rQjHz1ilNIimEXFeVa1ERNRBF8DoXDhLAZq5B4pE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "9b5328b7f761a7bbdc0e332ac4cf076a3eedb89b",
|
||||
"rev": "d032c1a6dfad4eedec7e35e91986becc699d7d69",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -477,12 +597,14 @@
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"Hyprspace": "Hyprspace",
|
||||
"firefox-addons": "firefox-addons",
|
||||
"home-manager": "home-manager",
|
||||
"hyprland": "hyprland",
|
||||
"hyprland-plugins": "hyprland-plugins",
|
||||
"hyprswitch": "hyprswitch",
|
||||
"lanzaboote": "lanzaboote",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||
"sops-nix": "sops-nix"
|
||||
}
|
||||
@@ -520,11 +642,11 @@
|
||||
"nixpkgs-stable": "nixpkgs-stable_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1717902109,
|
||||
"narHash": "sha256-OQTjaEZcByyVmHwJlKp/8SE9ikC4w+mFd3X0jJs6wiA=",
|
||||
"lastModified": 1719873517,
|
||||
"narHash": "sha256-D1dxZmXf6M2h5lNE1m6orojuUawVPjogbGRsqSBX+1g=",
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "f0922ad001829b400f0160ba85b47d252fa3d925",
|
||||
"rev": "a11224af8d824935f363928074b4717ca2e280db",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -580,11 +702,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1716290197,
|
||||
"narHash": "sha256-1u9Exrc7yx9qtES2brDh7/DDZ8w8ap1nboIOAtCgeuM=",
|
||||
"lastModified": 1718619174,
|
||||
"narHash": "sha256-FWW68AVYmB91ZDQnhLMBNCUUTCjb1ZpO2k2KIytHtkA=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "xdg-desktop-portal-hyprland",
|
||||
"rev": "91e48d6acd8a5a611d26f925e51559ab743bc438",
|
||||
"rev": "c7894aa54f9a7dbd16df5cd24d420c8af22d5623",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
75
flake.nix
@@ -22,15 +22,12 @@
|
||||
url = "github:hyprwm/hyprland-plugins";
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
# Hyprspace = {
|
||||
# url = "github:KZDKM/Hyprspace";
|
||||
# inputs.hyprland.follows = "hyprland";
|
||||
# };
|
||||
Hyprspace = {
|
||||
url = "github:KZDKM/Hyprspace";
|
||||
inputs.hyprland.follows = "hyprland";
|
||||
};
|
||||
hyprswitch.url = "github:h3rmt/hyprswitch/release";
|
||||
|
||||
# nixvim = {
|
||||
# url = "github:nix-community/nixvim/nixos-23.11";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
# };
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote/v0.3.0";
|
||||
# inputs.nixpkgs.follows = "nixpkgs-unstable";
|
||||
@@ -49,8 +46,19 @@
|
||||
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
pkgs-unstable = nixpkgs-unstable.legacyPackages.${system};
|
||||
pkgs-config = {
|
||||
allowUnfree = true;
|
||||
# cudaSupport = nvidia.enable;
|
||||
# enableParallelBuildingByDefault = true;
|
||||
};
|
||||
pkgs = import nixpkgs {
|
||||
system = system;
|
||||
config = pkgs-config;
|
||||
};
|
||||
pkgs-unstable = import nixpkgs-unstable {
|
||||
system = system;
|
||||
config = pkgs-config;
|
||||
};
|
||||
|
||||
user = "nx2";
|
||||
|
||||
@@ -59,23 +67,43 @@
|
||||
prime = true;
|
||||
# unfree = if enable then [
|
||||
unfree = [
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
"nvidia-persistenced"
|
||||
"cuda_cccl"
|
||||
"cuda_cudart"
|
||||
"cuda_cuobjdump"
|
||||
"cuda_cupti"
|
||||
"cuda_cuxxfilt"
|
||||
"cuda_gdb"
|
||||
"cuda-merged"
|
||||
"cuda_nvcc"
|
||||
"cuda_nvdisasm"
|
||||
"cuda_nvml_dev"
|
||||
"cuda_nvprune"
|
||||
"cuda_nvrtc"
|
||||
"cuda_nvtx"
|
||||
"cuda_profiler_api"
|
||||
"cuda_sanitizer_api"
|
||||
"cudatoolkit"
|
||||
"cudatoolkit-11.8.0"
|
||||
"cudatoolkit-12.2.2"
|
||||
"libcublas"
|
||||
"libcufft"
|
||||
"libcurand"
|
||||
"libcusolver"
|
||||
"libcusparse"
|
||||
"libnpp"
|
||||
"libnvjitlink"
|
||||
"nviaia-x11"
|
||||
"nvidia-persistenced"
|
||||
"nvidia-settings"
|
||||
"nvidia-x11"
|
||||
];
|
||||
# ] else [];
|
||||
};
|
||||
allowed = {
|
||||
unfree-packages = [
|
||||
"spotify"
|
||||
"cudatoolkit-12.2.2"
|
||||
"discord"
|
||||
"obsidian"
|
||||
"zoom-us"
|
||||
"spotify"
|
||||
"zoom"
|
||||
"zoom-us"
|
||||
] ++ nvidia.unfree;
|
||||
|
||||
inecure-packages = [
|
||||
@@ -93,7 +121,7 @@
|
||||
border-width = 3;
|
||||
color =
|
||||
let
|
||||
dark = (-0.3);
|
||||
dark = (-0.5);
|
||||
bright = (0.5);
|
||||
alter-set = let f = rice.lib.alter-luminace-hex; in color-name: color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
|
||||
alter = let f = rice.lib.alter-luminace-hex; in color-value: { base = color-value; dark = f color-value dark; bright = f color-value bright; };
|
||||
@@ -102,7 +130,7 @@
|
||||
white = "#ddddff"; # "#dddddd" "#66dd66";
|
||||
blue = "#4422ff"; # "#3333dd" "#003300";
|
||||
cyan = "#11dddd"; # "#11dddd" "#00dd55";
|
||||
green = "#11dd99"; # "#11dd11" "#11dd11";
|
||||
green = "#11dd44"; # "#11dd11" "#11dd11";
|
||||
magenta = "#6622dd"; # "#dd11dd" "#005500";
|
||||
red = "#dd1166"; # "#dd1111" "#00aa00";
|
||||
yellow = "#dd6611"; # "#dddd11" "#ffff00";
|
||||
@@ -153,10 +181,17 @@
|
||||
# package = (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; });
|
||||
};
|
||||
base = {
|
||||
# name = "NewComputerModern08";
|
||||
# package = pkgs.newcomputermodern;
|
||||
name = "Atkinson Hyperlegible";
|
||||
package = pkgs.atkinson-hyperlegible;
|
||||
};
|
||||
};
|
||||
cursor = {
|
||||
name = "Bibata-Original-Classic";
|
||||
package = pkgs.bibata-cursors;
|
||||
size = 24;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
92
home-modules/assets/gtk-2.0/apps.rc
Normal file
@@ -0,0 +1,92 @@
|
||||
# vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
|
||||
#
|
||||
# This file, unlike hacks.rc, contains legitimate cases we need to handle, e.g.
|
||||
# custom widgets, programs giving us a chance to alter their UI to fit more with
|
||||
# the theme or stuff that is supposed to look different, like panels.
|
||||
|
||||
# TODO: This could really look nicer
|
||||
style "gimp_spin_scale" {
|
||||
# Spin background
|
||||
bg[NORMAL] = @base_color
|
||||
|
||||
engine "pixmap" {
|
||||
image {
|
||||
function = BOX
|
||||
state = NORMAL
|
||||
detail = "spinbutton_up"
|
||||
overlay_file = "assets/pan-up-alt.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = PRELIGHT
|
||||
detail = "spinbutton_up"
|
||||
overlay_file = "assets/pan-up.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = ACTIVE
|
||||
detail = "spinbutton_up"
|
||||
overlay_file = "assets/pan-up.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = INSENSITIVE
|
||||
detail = "spinbutton_up"
|
||||
overlay_file = "assets/pan-up-alt-disabled.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = NORMAL
|
||||
detail = "spinbutton_down"
|
||||
overlay_file = "assets/pan-down-alt.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = PRELIGHT
|
||||
detail = "spinbutton_down"
|
||||
overlay_file = "assets/pan-down.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = ACTIVE
|
||||
detail = "spinbutton_down"
|
||||
overlay_file = "assets/pan-down.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
|
||||
image {
|
||||
function = BOX
|
||||
state = INSENSITIVE
|
||||
detail = "spinbutton_down"
|
||||
overlay_file = "assets/pan-down-alt-disabled.png"
|
||||
overlay_stretch = FALSE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
style "chrome_gtk_frame" {
|
||||
ChromeGtkFrame::frame-color = @titlebar_bg_color
|
||||
ChromeGtkFrame::inactive-frame-color = @titlebar_bg_color
|
||||
ChromeGtkFrame::incognito-frame-color = @titlebar_bg_color
|
||||
ChromeGtkFrame::incognito-inactive-frame-color = @titlebar_bg_color
|
||||
|
||||
ChromeGtkFrame::frame-gradient-size = 0
|
||||
}
|
||||
|
||||
# Disable spin button assets for GimpSpinScale
|
||||
class "GimpSpinScale" style "gimp_spin_scale"
|
||||
|
||||
# Chromium lets us define some colours and settings for better integration
|
||||
class "ChromeGtkFrame" style "chrome_gtk_frame"
|
||||
BIN
home-modules/assets/gtk-2.0/assets/border.png
Normal file
|
After Width: | Height: | Size: 126 B |
BIN
home-modules/assets/gtk-2.0/assets/button-active.png
Normal file
|
After Width: | Height: | Size: 267 B |
BIN
home-modules/assets/gtk-2.0/assets/button-disabled.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
home-modules/assets/gtk-2.0/assets/button-hover.png
Normal file
|
After Width: | Height: | Size: 252 B |
BIN
home-modules/assets/gtk-2.0/assets/button.png
Normal file
|
After Width: | Height: | Size: 239 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-checked-active.png
Normal file
|
After Width: | Height: | Size: 522 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-checked-disabled.png
Normal file
|
After Width: | Height: | Size: 495 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-checked-hover.png
Normal file
|
After Width: | Height: | Size: 522 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-checked.png
Normal file
|
After Width: | Height: | Size: 512 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-mixed-active.png
Normal file
|
After Width: | Height: | Size: 445 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-mixed-disabled.png
Normal file
|
After Width: | Height: | Size: 407 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-mixed-hover.png
Normal file
|
After Width: | Height: | Size: 445 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-mixed.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-unchecked-active.png
Normal file
|
After Width: | Height: | Size: 298 B |
|
After Width: | Height: | Size: 267 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-unchecked-hover.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
home-modules/assets/gtk-2.0/assets/checkbox-unchecked.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-left-entry-active.png
Normal file
|
After Width: | Height: | Size: 322 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-left-entry-disabled.png
Normal file
|
After Width: | Height: | Size: 209 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-left-entry-hover.png
Normal file
|
After Width: | Height: | Size: 282 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-left-entry.png
Normal file
|
After Width: | Height: | Size: 216 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-right-entry-active.png
Normal file
|
After Width: | Height: | Size: 333 B |
|
After Width: | Height: | Size: 207 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-right-entry-hover.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
home-modules/assets/gtk-2.0/assets/combo-right-entry.png
Normal file
|
After Width: | Height: | Size: 217 B |
BIN
home-modules/assets/gtk-2.0/assets/entry-active.png
Normal file
|
After Width: | Height: | Size: 416 B |
BIN
home-modules/assets/gtk-2.0/assets/entry-background-disabled.png
Normal file
|
After Width: | Height: | Size: 136 B |
BIN
home-modules/assets/gtk-2.0/assets/entry-background.png
Normal file
|
After Width: | Height: | Size: 136 B |
BIN
home-modules/assets/gtk-2.0/assets/entry-disabled.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
home-modules/assets/gtk-2.0/assets/entry-hover.png
Normal file
|
After Width: | Height: | Size: 347 B |
BIN
home-modules/assets/gtk-2.0/assets/entry.png
Normal file
|
After Width: | Height: | Size: 239 B |
BIN
home-modules/assets/gtk-2.0/assets/flat-button-active.png
Normal file
|
After Width: | Height: | Size: 267 B |
BIN
home-modules/assets/gtk-2.0/assets/flat-button-disabled.png
Normal file
|
After Width: | Height: | Size: 195 B |
BIN
home-modules/assets/gtk-2.0/assets/flat-button-hover.png
Normal file
|
After Width: | Height: | Size: 252 B |
BIN
home-modules/assets/gtk-2.0/assets/flat-button.png
Normal file
|
After Width: | Height: | Size: 195 B |
BIN
home-modules/assets/gtk-2.0/assets/focus.png
Normal file
|
After Width: | Height: | Size: 221 B |
BIN
home-modules/assets/gtk-2.0/assets/frame-inline.png
Normal file
|
After Width: | Height: | Size: 143 B |
BIN
home-modules/assets/gtk-2.0/assets/frame-notebook.png
Normal file
|
After Width: | Height: | Size: 147 B |
BIN
home-modules/assets/gtk-2.0/assets/frame.png
Normal file
|
After Width: | Height: | Size: 147 B |
BIN
home-modules/assets/gtk-2.0/assets/handle-horz-active.png
Normal file
|
After Width: | Height: | Size: 170 B |
BIN
home-modules/assets/gtk-2.0/assets/handle-horz-hover.png
Normal file
|
After Width: | Height: | Size: 183 B |
BIN
home-modules/assets/gtk-2.0/assets/handle-horz.png
Normal file
|
After Width: | Height: | Size: 178 B |
BIN
home-modules/assets/gtk-2.0/assets/handle-vert-active.png
Normal file
|
After Width: | Height: | Size: 166 B |
BIN
home-modules/assets/gtk-2.0/assets/handle-vert-hover.png
Normal file
|
After Width: | Height: | Size: 173 B |
BIN
home-modules/assets/gtk-2.0/assets/handle-vert.png
Normal file
|
After Width: | Height: | Size: 172 B |
|
After Width: | Height: | Size: 432 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-checkbox-checked.png
Normal file
|
After Width: | Height: | Size: 461 B |
|
After Width: | Height: | Size: 338 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-checkbox-mixed.png
Normal file
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 232 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-checkbox-unchecked.png
Normal file
|
After Width: | Height: | Size: 255 B |
|
After Width: | Height: | Size: 365 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-radio-checked.png
Normal file
|
After Width: | Height: | Size: 398 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-radio-mixed-disabled.png
Normal file
|
After Width: | Height: | Size: 338 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-radio-mixed.png
Normal file
|
After Width: | Height: | Size: 363 B |
|
After Width: | Height: | Size: 232 B |
BIN
home-modules/assets/gtk-2.0/assets/menu-radio-unchecked.png
Normal file
|
After Width: | Height: | Size: 255 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-down-alt-disabled.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-down-alt.png
Normal file
|
After Width: | Height: | Size: 190 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-down-disabled.png
Normal file
|
After Width: | Height: | Size: 181 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-down.png
Normal file
|
After Width: | Height: | Size: 165 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-left-alt-disabled.png
Normal file
|
After Width: | Height: | Size: 185 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-left-alt.png
Normal file
|
After Width: | Height: | Size: 194 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-left-disabled.png
Normal file
|
After Width: | Height: | Size: 185 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-left-semi.png
Normal file
|
After Width: | Height: | Size: 190 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-left.png
Normal file
|
After Width: | Height: | Size: 180 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-right-alt-disabled.png
Normal file
|
After Width: | Height: | Size: 187 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-right-alt.png
Normal file
|
After Width: | Height: | Size: 189 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-right-disabled.png
Normal file
|
After Width: | Height: | Size: 187 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-right-semi.png
Normal file
|
After Width: | Height: | Size: 192 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-right.png
Normal file
|
After Width: | Height: | Size: 181 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-up-alt-disabled.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-up-alt.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-up-disabled.png
Normal file
|
After Width: | Height: | Size: 182 B |
BIN
home-modules/assets/gtk-2.0/assets/pan-up.png
Normal file
|
After Width: | Height: | Size: 161 B |
BIN
home-modules/assets/gtk-2.0/assets/progressbar-progress.png
Normal file
|
After Width: | Height: | Size: 136 B |
BIN
home-modules/assets/gtk-2.0/assets/progressbar-trough.png
Normal file
|
After Width: | Height: | Size: 136 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-checked-active.png
Normal file
|
After Width: | Height: | Size: 478 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-checked-disabled.png
Normal file
|
After Width: | Height: | Size: 437 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-checked-hover.png
Normal file
|
After Width: | Height: | Size: 478 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-checked.png
Normal file
|
After Width: | Height: | Size: 473 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-mixed-active.png
Normal file
|
After Width: | Height: | Size: 445 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-mixed-disabled.png
Normal file
|
After Width: | Height: | Size: 407 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-mixed-hover.png
Normal file
|
After Width: | Height: | Size: 445 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-mixed.png
Normal file
|
After Width: | Height: | Size: 439 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-unchecked-active.png
Normal file
|
After Width: | Height: | Size: 298 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-unchecked-disabled.png
Normal file
|
After Width: | Height: | Size: 267 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-unchecked-hover.png
Normal file
|
After Width: | Height: | Size: 291 B |
BIN
home-modules/assets/gtk-2.0/assets/radio-unchecked.png
Normal file
|
After Width: | Height: | Size: 292 B |
BIN
home-modules/assets/gtk-2.0/assets/scale-horz-trough-active.png
Normal file
|
After Width: | Height: | Size: 161 B |
|
After Width: | Height: | Size: 160 B |
BIN
home-modules/assets/gtk-2.0/assets/scale-horz-trough.png
Normal file
|
After Width: | Height: | Size: 160 B |
BIN
home-modules/assets/gtk-2.0/assets/scale-slider-active.png
Normal file
|
After Width: | Height: | Size: 535 B |
BIN
home-modules/assets/gtk-2.0/assets/scale-slider-disabled.png
Normal file
|
After Width: | Height: | Size: 250 B |