feat(hypr): back to hyprland, and fix some clib importing stuffs
This commit is contained in:
36
flake.lock
generated
36
flake.lock
generated
@@ -212,11 +212,11 @@
|
|||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760424233,
|
"lastModified": 1760510549,
|
||||||
"narHash": "sha256-8jLfVik1ccwmacVW5BlprmsuK534rT5HjdPhkSaew44=",
|
"narHash": "sha256-NP+kmLMm7zSyv4Fufv+eSJXyqjLMUhUfPT6lXRlg/bU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "fenix",
|
"repo": "fenix",
|
||||||
"rev": "48a763cdc0b2d07199a021de99c2ca50af76e49f",
|
"rev": "ef7178cf086f267113b5c48fdeb6e510729c8214",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -590,11 +590,11 @@
|
|||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760446779,
|
"lastModified": 1760540014,
|
||||||
"narHash": "sha256-UzJHuqTgfwtnh34zbGq6NUe5i8wv3wg6B9njykBAddc=",
|
"narHash": "sha256-aRHbYRS0xekHabEMer6YsHsYHbEFZpMXgUP0Q6GEGSU=",
|
||||||
"owner": "helix-editor",
|
"owner": "helix-editor",
|
||||||
"repo": "helix",
|
"repo": "helix",
|
||||||
"rev": "6e07bcc04dd5a0bb5ae04677823a5b3821f622c5",
|
"rev": "f6f8634eb07f35f02bd2881666925a90513f6f3b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -610,11 +610,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760462439,
|
"lastModified": 1760500983,
|
||||||
"narHash": "sha256-bks3rTsKGlqehk4l7rViIg2lBnUsY6we22O+ecRZB/c=",
|
"narHash": "sha256-zfY4F4CpeUjTGgecIJZ+M7vFpwLc0Gm9epM/iMQd4w8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "990e5ce6791ff1f497a61280a82eb66e3789e0e9",
|
"rev": "c53e65ec92f38d30e3c14f8d628ab55d462947aa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -803,11 +803,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760466709,
|
"lastModified": 1760531859,
|
||||||
"narHash": "sha256-m5Bd3RadgnA1HEdisWnZI4sGVvj6Mh3WERmFgZqyF+s=",
|
"narHash": "sha256-akjHaa54IEBlgeDNwVuuNdkttbDOStgXpDXeJ5GR2QI=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland",
|
"repo": "hyprland",
|
||||||
"rev": "f324a3a564b40f4f62eb137808ca38bf6aee1b27",
|
"rev": "ab11af9664a80df70fe3398810b79c4298312a33",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1278,11 +1278,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760406533,
|
"lastModified": 1760493063,
|
||||||
"narHash": "sha256-ViYpiGv0w+TXpBCFXPXWlEP3dVNHeGgvpsKDbQMY6UE=",
|
"narHash": "sha256-yYqrMI9jg7vTjHu4wOiER9HmqE+NvOqOjfYzuMsTo3Y=",
|
||||||
"owner": "fufexan",
|
"owner": "fufexan",
|
||||||
"repo": "nix-gaming",
|
"repo": "nix-gaming",
|
||||||
"rev": "f8f51dd445f7b0dbb3429a3e31994bb0f2908010",
|
"rev": "d7f6ab23b939e6e1247321a0e63a89cacb98c03c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1626,11 +1626,11 @@
|
|||||||
"rust-analyzer-src": {
|
"rust-analyzer-src": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1760260966,
|
"lastModified": 1760457219,
|
||||||
"narHash": "sha256-pOVvZz/aa+laeaUKyE6PtBevdo4rywMwjhWdSZE/O1c=",
|
"narHash": "sha256-WJOUGx42hrhmvvYcGkwea+BcJuQJLcns849OnewQqX4=",
|
||||||
"owner": "rust-lang",
|
"owner": "rust-lang",
|
||||||
"repo": "rust-analyzer",
|
"repo": "rust-analyzer",
|
||||||
"rev": "c5181dbbe33af6f21b9d83e02fdb6fda298a3b65",
|
"rev": "8747cf81540bd1bbbab9ee2702f12c33aa887b46",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -4,111 +4,116 @@
|
|||||||
homeImports,
|
homeImports,
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
flake.nixosConfigurations = let
|
{
|
||||||
# clib = import ../lib inputs.nixpkgs.lib;
|
flake.nixosConfigurations =
|
||||||
userConfig = "${self}/home";
|
let
|
||||||
systemConfig = "${self}/system";
|
clib = import ../lib inputs.nixpkgs.lib;
|
||||||
hostConfig = "${self}/hosts";
|
userConfig = "${self}/home";
|
||||||
|
systemConfig = "${self}/system";
|
||||||
|
hostConfig = "${self}/hosts";
|
||||||
|
|
||||||
cnstConfig = "${self}/users/cnst";
|
cnstConfig = "${self}/users/cnst";
|
||||||
toothpickConfig = "${self}/users/toothpick";
|
toothpickConfig = "${self}/users/toothpick";
|
||||||
|
|
||||||
umodPath = "${self}/modules/home";
|
umodPath = "${self}/modules/home";
|
||||||
smodPath = "${self}/modules/system";
|
smodPath = "${self}/modules/system";
|
||||||
|
|
||||||
inherit (inputs.nixpkgs.lib) nixosSystem;
|
inherit (inputs.nixpkgs.lib) nixosSystem;
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit
|
inherit
|
||||||
# clib
|
inputs
|
||||||
inputs
|
outputs
|
||||||
outputs
|
self
|
||||||
self
|
userConfig
|
||||||
userConfig
|
systemConfig
|
||||||
systemConfig
|
hostConfig
|
||||||
hostConfig
|
cnstConfig
|
||||||
cnstConfig
|
toothpickConfig
|
||||||
toothpickConfig
|
umodPath
|
||||||
umodPath
|
smodPath
|
||||||
smodPath
|
;
|
||||||
;
|
};
|
||||||
|
specialArgsWithClib = specialArgs // {
|
||||||
|
inherit clib;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
kima = nixosSystem {
|
||||||
|
specialArgs = specialArgsWithClib;
|
||||||
|
modules = [
|
||||||
|
./kima
|
||||||
|
"${self}/nix"
|
||||||
|
{
|
||||||
|
home-manager = {
|
||||||
|
users.cnst.imports = homeImports."cnst@kima";
|
||||||
|
extraSpecialArgs = specialArgsWithClib;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
self.nixosModules.nixos
|
||||||
|
self.nixosModules.settings
|
||||||
|
inputs.chaotic.nixosModules.default
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
bunk = nixosSystem {
|
||||||
|
specialArgs = specialArgsWithClib;
|
||||||
|
modules = [
|
||||||
|
./bunk
|
||||||
|
"${self}/nix"
|
||||||
|
{
|
||||||
|
home-manager = {
|
||||||
|
users.cnst.imports = homeImports."cnst@bunk";
|
||||||
|
extraSpecialArgs = specialArgsWithClib;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
self.nixosModules.nixos
|
||||||
|
self.nixosModules.settings
|
||||||
|
inputs.chaotic.nixosModules.default
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
sobotka = nixosSystem {
|
||||||
|
inherit specialArgs;
|
||||||
|
modules = [
|
||||||
|
./sobotka
|
||||||
|
"${self}/nix"
|
||||||
|
self.nixosModules.nixos
|
||||||
|
self.nixosModules.settings
|
||||||
|
self.nixosModules.server
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
inputs.authentik.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
ziggy = nixosSystem {
|
||||||
|
inherit specialArgs;
|
||||||
|
modules = [
|
||||||
|
./ziggy
|
||||||
|
"${self}/nix"
|
||||||
|
self.nixosModules.nixos
|
||||||
|
self.nixosModules.settings
|
||||||
|
self.nixosModules.server
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
|
toothpc = nixosSystem {
|
||||||
|
specialArgs = specialArgsWithClib;
|
||||||
|
modules = [
|
||||||
|
./toothpc
|
||||||
|
"${self}/nix"
|
||||||
|
{
|
||||||
|
home-manager = {
|
||||||
|
users.toothpick.imports = homeImports."toothpick@toothpc";
|
||||||
|
extraSpecialArgs = specialArgsWithClib;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
self.nixosModules.nixos
|
||||||
|
self.nixosModules.settings
|
||||||
|
inputs.chaotic.nixosModules.default
|
||||||
|
inputs.agenix.nixosModules.default
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in {
|
|
||||||
kima = nixosSystem {
|
|
||||||
inherit specialArgs;
|
|
||||||
modules = [
|
|
||||||
./kima
|
|
||||||
"${self}/nix"
|
|
||||||
{
|
|
||||||
home-manager = {
|
|
||||||
users.cnst.imports = homeImports."cnst@kima";
|
|
||||||
extraSpecialArgs = specialArgs;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
self.nixosModules.nixos
|
|
||||||
self.nixosModules.settings
|
|
||||||
inputs.chaotic.nixosModules.default
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
bunk = nixosSystem {
|
|
||||||
inherit specialArgs;
|
|
||||||
modules = [
|
|
||||||
./bunk
|
|
||||||
"${self}/nix"
|
|
||||||
{
|
|
||||||
home-manager = {
|
|
||||||
users.cnst.imports = homeImports."cnst@bunk";
|
|
||||||
extraSpecialArgs = specialArgs;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
self.nixosModules.nixos
|
|
||||||
self.nixosModules.settings
|
|
||||||
inputs.chaotic.nixosModules.default
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
sobotka = nixosSystem {
|
|
||||||
inherit specialArgs;
|
|
||||||
modules = [
|
|
||||||
./sobotka
|
|
||||||
"${self}/nix"
|
|
||||||
self.nixosModules.nixos
|
|
||||||
self.nixosModules.settings
|
|
||||||
self.nixosModules.server
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
inputs.authentik.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
ziggy = nixosSystem {
|
|
||||||
inherit specialArgs;
|
|
||||||
modules = [
|
|
||||||
./ziggy
|
|
||||||
"${self}/nix"
|
|
||||||
self.nixosModules.nixos
|
|
||||||
self.nixosModules.settings
|
|
||||||
self.nixosModules.server
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
toothpc = nixosSystem {
|
|
||||||
inherit specialArgs;
|
|
||||||
modules = [
|
|
||||||
./toothpc
|
|
||||||
"${self}/nix"
|
|
||||||
{
|
|
||||||
home-manager = {
|
|
||||||
users.toothpick.imports = homeImports."toothpick@toothpc";
|
|
||||||
extraSpecialArgs = specialArgs;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
self.nixosModules.nixos
|
|
||||||
self.nixosModules.settings
|
|
||||||
inputs.chaotic.nixosModules.default
|
|
||||||
inputs.agenix.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,8 +82,8 @@
|
|||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = false;
|
enable = true;
|
||||||
withUWSM = false;
|
withUWSM = true;
|
||||||
};
|
};
|
||||||
inkscape = {
|
inkscape = {
|
||||||
enable = false;
|
enable = false;
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
niri = {
|
niri = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
pkgs = {
|
pkgs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
"group/system"
|
"group/system"
|
||||||
],
|
],
|
||||||
"modules-center": [
|
"modules-center": [
|
||||||
"niri/workspaces"
|
"hyprland/workspaces"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/progress",
|
"custom/progress",
|
||||||
|
|||||||
@@ -37,9 +37,9 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
gestures = {
|
gestures = {
|
||||||
workspace_swipe = true;
|
# workspace_swipe = true;
|
||||||
workspace_swipe_distance = 400;
|
workspace_swipe_distance = 400;
|
||||||
workspace_swipe_fingers = 3;
|
# workspace_swipe_fingers = 3;
|
||||||
workspace_swipe_cancel_ratio = 0.2;
|
workspace_swipe_cancel_ratio = 0.2;
|
||||||
workspace_swipe_min_speed_to_force = 5;
|
workspace_swipe_min_speed_to_force = 5;
|
||||||
workspace_swipe_direction_lock = true;
|
workspace_swipe_direction_lock = true;
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ in
|
|||||||
|
|
||||||
(mkIf (host == "kima") {
|
(mkIf (host == "kima") {
|
||||||
programs.hyprland.settings = {
|
programs.hyprland.settings = {
|
||||||
"$terminal" = "ghostty";
|
"$terminal" = "alacritty";
|
||||||
"$browser" = "zen";
|
"$browser" = "zen";
|
||||||
"$browserinc" = "zen --private-window";
|
"$browserinc" = "zen --private-window";
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
@@ -111,7 +111,7 @@ in
|
|||||||
|
|
||||||
(mkIf (host == "bunk") {
|
(mkIf (host == "bunk") {
|
||||||
programs.hyprland.settings = {
|
programs.hyprland.settings = {
|
||||||
"$terminal" = "foot";
|
"$terminal" = "alacritty";
|
||||||
"$browser" = "zen";
|
"$browser" = "zen";
|
||||||
"$browserinc" = "zen --private-window";
|
"$browserinc" = "zen --private-window";
|
||||||
"$mod" = "ALT_L";
|
"$mod" = "ALT_L";
|
||||||
|
|||||||
Reference in New Issue
Block a user