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
|
|
@ -38,6 +38,7 @@
|
||||||
protontricks.enable = true;
|
protontricks.enable = true;
|
||||||
};
|
};
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
imports = [ ./hardware.nix ];
|
imports = [ ./hardware.nix ];
|
||||||
security.polkit = {
|
security.polkit = {
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,19 @@
|
||||||
"desc:Samsung Electric Company S24D330 0x5A5A5131, 1920x1080@60, 3840x1440, 1 # side monitor"
|
"desc:Samsung Electric Company S24D330 0x5A5A5131, 1920x1080@60, 3840x1440, 1 # side monitor"
|
||||||
"desc:Panasonic Industry Company Panasonic-TV, 3840x2160@30, 0x0, 1 # tv"
|
"desc:Panasonic Industry Company Panasonic-TV, 3840x2160@30, 0x0, 1 # tv"
|
||||||
];
|
];
|
||||||
|
workspaces.workspaces = [
|
||||||
|
|
||||||
|
"1, monitor:DP-1, persistent:true"
|
||||||
|
"2, monitor:DP-1, persistent:true"
|
||||||
|
"3, monitor:DP-1, persistent:true"
|
||||||
|
"4, monitor:DP-1, persistent:true"
|
||||||
|
"5, monitor:HDMI-A-1, persistent:true"
|
||||||
|
"6, monitor:HDMI-A-1, persistent:true"
|
||||||
|
"7, monitor:HDMI-A-1, persistent:true"
|
||||||
|
"8, monitor:HDMI-A-1, persistent:true"
|
||||||
|
"9, monitor:DP-3, persistent:true"
|
||||||
|
"special:magic"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gaming.steam.enable = true;
|
gaming.steam.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
imports = [ ./hardware.nix ];
|
imports = [ ./hardware.nix ];
|
||||||
|
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./internet
|
./internet
|
||||||
./bluetooth
|
./bluetooth
|
||||||
|
./mounts
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,9 @@ let
|
||||||
(extension "simplelogin" "addon@simplelogin")
|
(extension "simplelogin" "addon@simplelogin")
|
||||||
(extension "localcdn-fork-of-decentraleyes" "{b86e4813-687a-43e6-ab65-0bde4ab75758}")
|
(extension "localcdn-fork-of-decentraleyes" "{b86e4813-687a-43e6-ab65-0bde4ab75758}")
|
||||||
(extension "catppuccin-web-file-icons" "{bbb880ce-43c9-47ae-b746-c3e0096c5b76}")
|
(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
|
./connectivity
|
||||||
./media
|
./media
|
||||||
./social-media
|
./social-media
|
||||||
|
./server
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@
|
||||||
config = lib.mkIf config.device.type.desktop {
|
config = lib.mkIf config.device.type.desktop {
|
||||||
development = lib.mkDefault {
|
development = lib.mkDefault {
|
||||||
vscodium.enable = true;
|
vscodium.enable = true;
|
||||||
|
godot.enable = true;
|
||||||
|
python.enable = true;
|
||||||
};
|
};
|
||||||
terminal = lib.mkDefault {
|
terminal = lib.mkDefault {
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@
|
||||||
ws = i + 1;
|
ws = i + 1;
|
||||||
in
|
in
|
||||||
[
|
[
|
||||||
"name:${toString i},,persistent:true"
|
"${toString i},persistent:true"
|
||||||
]
|
]
|
||||||
) config.desktop.hyprland.workspaces.amount
|
) config.desktop.hyprland.workspaces.amount
|
||||||
)
|
)
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = false;
|
||||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
portalPackage =
|
portalPackage =
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
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.walker.enable) "elephant")
|
||||||
(lib.mkIf (config.desktop.waybar.enable) "waybar")
|
(lib.mkIf (config.desktop.waybar.enable) "waybar")
|
||||||
(lib.mkIf (config.desktop.wallpaper.enable) "waypaper --restore --random")
|
(lib.mkIf (config.desktop.wallpaper.enable) "waypaper --restore --random")
|
||||||
|
(lib.mkIf (config.gaming.steam.enable) "adwaita-steam-gtk - i; steam --silent")
|
||||||
|
|
||||||
];
|
];
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$shiftmod" = "SUPER_SHIFT";
|
"$shiftmod" = "SUPER_SHIFT";
|
||||||
|
|
@ -106,7 +108,7 @@
|
||||||
"$mod, down, movefocus, d"
|
"$mod, down, movefocus, d"
|
||||||
"$mod, J, exec, playerctl previous"
|
"$mod, J, exec, playerctl previous"
|
||||||
"$mod, K, exec, playerctl play-pause"
|
"$mod, K, exec, playerctl play-pause"
|
||||||
"$mod, L, exec, playerctl, next"
|
"$mod, L, exec, playerctl next"
|
||||||
"$mod, G, togglefloating,"
|
"$mod, G, togglefloating,"
|
||||||
# "$mod, H, hyprexpo:expo, toggle"
|
# "$mod, H, hyprexpo:expo, toggle"
|
||||||
"$mod, F1, exec, hyprlock"
|
"$mod, F1, exec, hyprlock"
|
||||||
|
|
@ -167,7 +169,7 @@
|
||||||
};
|
};
|
||||||
plugin = {
|
plugin = {
|
||||||
hyprexpo = {
|
hyprexpo = {
|
||||||
columns = 3;
|
columns = 2;
|
||||||
gap_size = 20;
|
gap_size = 20;
|
||||||
bg_col = "rgb(e1e1e2)";
|
bg_col = "rgb(e1e1e2)";
|
||||||
workspace_method = "first 1";
|
workspace_method = "first 1";
|
||||||
|
|
@ -183,7 +185,7 @@
|
||||||
};
|
};
|
||||||
plugins = [
|
plugins = [
|
||||||
inputs.hyprland-plugins.packages.${pkgs.stdenv.hostPlatform.system}.hyprtrails
|
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 = [
|
imports = [
|
||||||
./git.nix
|
./git.nix
|
||||||
./vscodium.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 {
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -17,5 +17,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland = {
|
||||||
|
enable = true;
|
||||||
|
withUWSM = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,6 +34,7 @@
|
||||||
"video"
|
"video"
|
||||||
"audio"
|
"audio"
|
||||||
"render"
|
"render"
|
||||||
|
"docker"
|
||||||
];
|
];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue