fixed a typo in hyprland.nix + other small tasks
This commit is contained in:
parent
fbbfd597d5
commit
30868c04bd
18 changed files with 148 additions and 7 deletions
|
|
@ -9,5 +9,6 @@
|
|||
imports = [
|
||||
./internet
|
||||
./bluetooth
|
||||
./mounts
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,6 +34,9 @@ let
|
|||
(extension "simplelogin" "addon@simplelogin")
|
||||
(extension "localcdn-fork-of-decentraleyes" "{b86e4813-687a-43e6-ab65-0bde4ab75758}")
|
||||
(extension "catppuccin-web-file-icons" "{bbb880ce-43c9-47ae-b746-c3e0096c5b76}")
|
||||
(extension "peertube-companion" "peertube-companion@booteille")
|
||||
(extension "peertubeify" "{01175c8e-4506-4263-bad9-d3ddfd4f5a5f}")
|
||||
(extension "peertube-picks" "{937c0767-0608-41e2-917a-8bf06601275a}")
|
||||
# ...
|
||||
];
|
||||
|
||||
|
|
|
|||
12
modules/connectivity/mounts/default.nix
Normal file
12
modules/connectivity/mounts/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./sshfs.nix
|
||||
];
|
||||
}
|
||||
28
modules/connectivity/mounts/sshfs.nix
Normal file
28
modules/connectivity/mounts/sshfs.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
};
|
||||
config = {
|
||||
programs.sftpman = {
|
||||
enable = true;
|
||||
mounts = {
|
||||
marty-server = {
|
||||
host = "marty-server";
|
||||
user = "marty";
|
||||
mountOptions = [
|
||||
"/mnt/Server"
|
||||
];
|
||||
mountPoint = "/";
|
||||
};
|
||||
};
|
||||
package = pkgs.sshfs;
|
||||
defaultSshKey = "~/.ssh/id_ed25519";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -16,5 +16,6 @@
|
|||
./connectivity
|
||||
./media
|
||||
./social-media
|
||||
./server
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
config = lib.mkIf config.device.type.desktop {
|
||||
development = lib.mkDefault {
|
||||
vscodium.enable = true;
|
||||
godot.enable = true;
|
||||
python.enable = true;
|
||||
};
|
||||
terminal = lib.mkDefault {
|
||||
kitty.enable = true;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
ws = i + 1;
|
||||
in
|
||||
[
|
||||
"name:${toString i},,persistent:true"
|
||||
"${toString i},persistent:true"
|
||||
]
|
||||
) config.desktop.hyprland.workspaces.amount
|
||||
)
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
systemd.enable = true;
|
||||
systemd.enable = false;
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
portalPackage =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
|
|
@ -74,6 +74,8 @@
|
|||
(lib.mkIf (config.desktop.walker.enable) "elephant")
|
||||
(lib.mkIf (config.desktop.waybar.enable) "waybar")
|
||||
(lib.mkIf (config.desktop.wallpaper.enable) "waypaper --restore --random")
|
||||
(lib.mkIf (config.gaming.steam.enable) "adwaita-steam-gtk - i; steam --silent")
|
||||
|
||||
];
|
||||
"$mod" = "SUPER";
|
||||
"$shiftmod" = "SUPER_SHIFT";
|
||||
|
|
@ -106,7 +108,7 @@
|
|||
"$mod, down, movefocus, d"
|
||||
"$mod, J, exec, playerctl previous"
|
||||
"$mod, K, exec, playerctl play-pause"
|
||||
"$mod, L, exec, playerctl, next"
|
||||
"$mod, L, exec, playerctl next"
|
||||
"$mod, G, togglefloating,"
|
||||
# "$mod, H, hyprexpo:expo, toggle"
|
||||
"$mod, F1, exec, hyprlock"
|
||||
|
|
@ -167,7 +169,7 @@
|
|||
};
|
||||
plugin = {
|
||||
hyprexpo = {
|
||||
columns = 3;
|
||||
columns = 2;
|
||||
gap_size = 20;
|
||||
bg_col = "rgb(e1e1e2)";
|
||||
workspace_method = "first 1";
|
||||
|
|
@ -183,7 +185,7 @@
|
|||
};
|
||||
plugins = [
|
||||
inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprtrails
|
||||
inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprexpo
|
||||
# inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprexpo
|
||||
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@
|
|||
imports = [
|
||||
./git.nix
|
||||
./vscodium.nix
|
||||
./python.nix
|
||||
./godot.nix
|
||||
|
||||
];
|
||||
}
|
||||
|
|
|
|||
20
modules/development/godot.nix
Normal file
20
modules/development/godot.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
development = {
|
||||
godot.enable = lib.mkEnableOption "enable godot";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.development.godot.enable {
|
||||
home.packages = with pkgs; [
|
||||
godot
|
||||
];
|
||||
};
|
||||
}
|
||||
21
modules/development/python.nix
Normal file
21
modules/development/python.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
development = {
|
||||
python.enable = lib.mkEnableOption "enable python";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.development.python.enable {
|
||||
home.packages = with pkgs; [
|
||||
uv
|
||||
virtualenv
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -13,6 +13,9 @@
|
|||
};
|
||||
|
||||
config = lib.mkIf config.gaming.steam.enable {
|
||||
home.packages = with pkgs; [steam];
|
||||
home.packages = with pkgs; [
|
||||
steam
|
||||
adwsteamgtk
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
12
modules/server/default.nix
Normal file
12
modules/server/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./docker
|
||||
];
|
||||
}
|
||||
14
modules/server/docker/default.nix
Normal file
14
modules/server/docker/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs = {
|
||||
lazydocker = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue