Compare commits
3 Commits
fdb7f1962a
...
691826fb1b
| Author | SHA1 | Date |
|---|---|---|
|
|
691826fb1b | |
|
|
384408074b | |
|
|
205ef0d626 |
83
flake.lock
83
flake.lock
|
|
@ -68,6 +68,28 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"elephant": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1769329000,
|
||||||
|
"narHash": "sha256-0vibWqmCsG1t4xL2euR6PScB3M4QZigB5JGl+BIH4NY=",
|
||||||
|
"owner": "abenz1267",
|
||||||
|
"repo": "elephant",
|
||||||
|
"rev": "1988112d1f54dd76e8a90f551945df763586bdad",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "abenz1267",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "elephant",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"firefox-gnome-theme": {
|
"firefox-gnome-theme": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -240,11 +262,13 @@
|
||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"elephant": "elephant",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"install-system": "install-system",
|
"install-system": "install-system",
|
||||||
"nix-vscode-extensions": "nix-vscode-extensions",
|
"nix-vscode-extensions": "nix-vscode-extensions",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix",
|
||||||
|
"walker": "walker"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"stylix": {
|
"stylix": {
|
||||||
|
|
@ -260,7 +284,7 @@
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
"systems": "systems",
|
"systems": "systems_2",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
"tinted-schemes": "tinted-schemes",
|
"tinted-schemes": "tinted-schemes",
|
||||||
|
|
@ -283,6 +307,21 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1689347949,
|
||||||
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default-linux",
|
||||||
|
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default-linux",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
|
@ -297,6 +336,21 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1689347949,
|
||||||
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default-linux",
|
||||||
|
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default-linux",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tinted-foot": {
|
"tinted-foot": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
@ -377,6 +431,31 @@
|
||||||
"repo": "base16-zed",
|
"repo": "base16-zed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"walker": {
|
||||||
|
"inputs": {
|
||||||
|
"elephant": [
|
||||||
|
"elephant"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1769093508,
|
||||||
|
"narHash": "sha256-ccwJ1ADGNFd5LDF2JWdfP7+f1Hs2EvJ+2o6sUOdYi7w=",
|
||||||
|
"owner": "abenz1267",
|
||||||
|
"repo": "walker",
|
||||||
|
"rev": "e427025bdda667712b08dd56f1a0a23667f1364c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "abenz1267",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "walker",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
||||||
14
flake.nix
14
flake.nix
|
|
@ -7,15 +7,29 @@
|
||||||
url = "github:nix-community/home-manager/master";
|
url = "github:nix-community/home-manager/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix-vscode-extensions = {
|
nix-vscode-extensions = {
|
||||||
url = "github:nix-community/nix-vscode-extensions";
|
url = "github:nix-community/nix-vscode-extensions";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
url = "github:danth/stylix/master";
|
url = "github:danth/stylix/master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
elephant = {
|
||||||
|
url = "github:abenz1267/elephant/master";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
walker = {
|
||||||
|
url = "github:abenz1267/walker/master";
|
||||||
|
inputs = {
|
||||||
|
elephant.follows = "elephant";
|
||||||
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
install-system = {
|
install-system = {
|
||||||
url = "path:scripts/install-system";
|
url = "path:scripts/install-system";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,14 @@ with lib;
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
];
|
];
|
||||||
|
extra-substituters = [
|
||||||
|
"https://walker.cachix.org"
|
||||||
|
"https://walker-git.cachix.org"
|
||||||
|
];
|
||||||
|
extra-trusted-public-keys = [
|
||||||
|
"walker.cachix.org-1:fG8q+uAaMqhsMxWjwvk0IMb4mFPFLqHjuvfwQxE4oJM="
|
||||||
|
"walker-git.cachix.org-1:vmC0ocfPWh0S/vRAQGtChuiZBTAe4wiKDeyyXM0/7pM="
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
{
|
{
|
||||||
profile,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../profiles/${profile}
|
|
||||||
../../profiles/vm
|
../../profiles/vm
|
||||||
../../modules/core
|
../../modules/core
|
||||||
../../modules/options
|
../../modules/options
|
||||||
|
|
@ -16,6 +14,7 @@
|
||||||
modules.hyprland = {
|
modules.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
terminal = "kitty";
|
terminal = "kitty";
|
||||||
|
launcher = "walker";
|
||||||
monitor = [
|
monitor = [
|
||||||
",preferred,auto,1"
|
",preferred,auto,1"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
./overlays.nix
|
./overlays.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./vscodium.nix
|
./vscodium.nix
|
||||||
|
./walker.nix
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
./zsh
|
./zsh
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ in
|
||||||
bind = [
|
bind = [
|
||||||
# Misc
|
# Misc
|
||||||
"$mod,Return,exec,${cfg.terminal}"
|
"$mod,Return,exec,${cfg.terminal}"
|
||||||
|
"$mod,D,exec,walker"
|
||||||
|
|
||||||
# Window management
|
# Window management
|
||||||
"$mod,C,killactive"
|
"$mod,C,killactive"
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,7 @@ in
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = cfg.enable;
|
enable = cfg.enable;
|
||||||
package = pkgs.hyprland;
|
package = pkgs.hyprland;
|
||||||
systemd.enable = false;
|
systemd.enable = true;
|
||||||
xwayland.enable = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
monitor = cfg.monitor;
|
monitor = cfg.monitor;
|
||||||
|
|
||||||
|
|
@ -47,6 +46,10 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
misc = {
|
||||||
|
initial_workspace_tracking = 2;
|
||||||
|
};
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
"NIXOS_OZONE_WL, 1"
|
"NIXOS_OZONE_WL, 1"
|
||||||
"XDG_CURRENT_DESKTOP, Hyprland"
|
"XDG_CURRENT_DESKTOP, Hyprland"
|
||||||
|
|
@ -54,6 +57,10 @@ in
|
||||||
"XDG_SESSION_TYPE, wayland"
|
"XDG_SESSION_TYPE, wayland"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xwayland = {
|
||||||
|
enabled = true;
|
||||||
|
};
|
||||||
|
|
||||||
ecosystem = {
|
ecosystem = {
|
||||||
no_update_news = true;
|
no_update_news = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with lib;
|
||||||
|
let hyprlandCfg = config.modules.hyprland;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [ inputs.walker.homeManagerModules.default ];
|
||||||
|
|
||||||
|
programs.walker = mkIf (hyprlandCfg.launcher == "walker") {
|
||||||
|
enable = true;
|
||||||
|
runAsService = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -19,6 +19,15 @@ with lib;
|
||||||
The terminal to use for Hyprland.
|
The terminal to use for Hyprland.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
launcher = mkOption {
|
||||||
|
type = types.enum [
|
||||||
|
"walker"
|
||||||
|
];
|
||||||
|
default = "walker";
|
||||||
|
description = ''
|
||||||
|
The application launcher to use for Hyprland.
|
||||||
|
'';
|
||||||
|
};
|
||||||
monitor = mkOption {
|
monitor = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [ ",preferred,auto,1" ];
|
default = [ ",preferred,auto,1" ];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue