try uwsm again
This commit is contained in:
@@ -37,6 +37,10 @@
|
|||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
builders-use-substitutes = lib.mkIf config.sysconfig.remoteBuildClient true;
|
builders-use-substitutes = lib.mkIf config.sysconfig.remoteBuildClient true;
|
||||||
trusted-users = lib.mkIf config.sysconfig.remoteBuildHost [ "remote-builder" ];
|
trusted-users = lib.mkIf config.sysconfig.remoteBuildHost [ "remote-builder" ];
|
||||||
|
|
||||||
|
substituters = lib.mkIf config.sysconfig.programs.hyprland.enable ["https://hyprland.cachix.org"];
|
||||||
|
trusted-substituters = lib.mkIf config.sysconfig.programs.hyprland.enable ["https://hyprland.cachix.org"];
|
||||||
|
trusted-public-keys = lib.mkIf config.sysconfig.programs.hyprland.enable ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
|
||||||
};
|
};
|
||||||
|
|
||||||
distributedBuilds = config.sysconfig.remoteBuildClient;
|
distributedBuilds = config.sysconfig.remoteBuildClient;
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{ ... }: {
|
||||||
|
|
||||||
|
config = {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
withUWSM = true;
|
||||||
|
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
|
|
||||||
systemd.setPath.enable = true;
|
systemd.setPath.enable = true;
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
services.nginx.virtualHosts."192.168.100.15".listen = [ { addr = "0.0.0.0"; port = 80; } ];
|
services.nginx.virtualHosts."192.168.100.15".listen = [ { addr = "0.0.0.0"; port = 80; } ];
|
||||||
services.nextcloud = {
|
services.nextcloud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nextcloud31;
|
package = pkgs.nextcloud32;
|
||||||
hostName = "192.168.100.15";
|
hostName = "192.168.100.15";
|
||||||
config = {
|
config = {
|
||||||
adminpassFile = "/etc/nextcloud-admin-pass";
|
adminpassFile = "/etc/nextcloud-admin-pass";
|
||||||
|
|||||||
@@ -11,12 +11,12 @@
|
|||||||
services.ollama = {
|
services.ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "cuda";
|
acceleration = "cuda";
|
||||||
package = let
|
/*package = let
|
||||||
pkgs-us = import nixpkgs-us {
|
pkgs-us = import nixpkgs-us {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
in pkgs-us.ollama;
|
in pkgs-us.ollama;*/
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
0
system/services/openvpn/default.nix
Normal file
0
system/services/openvpn/default.nix
Normal file
@@ -5,6 +5,7 @@
|
|||||||
".config/hyprpanel" = lib.mkIf config.homeconfig.hyprpanel.enable { source = ./hyprpanel; recursive = true; };
|
".config/hyprpanel" = lib.mkIf config.homeconfig.hyprpanel.enable { source = ./hyprpanel; recursive = true; };
|
||||||
".config/wal/templates" = lib.mkIf config.homeconfig.wal.enable { source = ./wal/templates; recursive = true; };
|
".config/wal/templates" = lib.mkIf config.homeconfig.wal.enable { source = ./wal/templates; recursive = true; };
|
||||||
".config/ohmyposh" = { source = ./ohmyposh; recursive = true; };
|
".config/ohmyposh" = { source = ./ohmyposh; recursive = true; };
|
||||||
|
".config/quickshell" = lib.mkIf config.homeconfig.quickshell.enable { source = ./quickshell; recursive = true; };
|
||||||
"Pictures/Wallpaper" = lib.mkIf config.homeconfig.graphical { source = ./Wallpaper; recursive = true; };
|
"Pictures/Wallpaper" = lib.mkIf config.homeconfig.graphical { source = ./Wallpaper; recursive = true; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# #
|
# #
|
||||||
#------------------------------------------------#
|
#------------------------------------------------#
|
||||||
|
|
||||||
exec-once=onSystemStart
|
exec-once = hyprrun onSystemStart
|
||||||
|
|
||||||
# Some default env vars.
|
# Some default env vars.
|
||||||
env = XCURSOR_SIZE,16
|
env = XCURSOR_SIZE,16
|
||||||
@@ -107,13 +107,11 @@ ecosystem {
|
|||||||
# Binds
|
# Binds
|
||||||
$mainMod = ALT
|
$mainMod = ALT
|
||||||
|
|
||||||
bind = CTRL SHIFT, H, exec, colorPrefix kitty -e 'bash -c "hyprctl binds | less"'
|
bind = $mainMod SHIFT, E, exec, hyprrun colorPrefix kitty
|
||||||
|
|
||||||
bind = $mainMod SHIFT, E, exec, colorPrefix kitty
|
bind = $mainMod, B, exec, hyprrun firefox
|
||||||
|
|
||||||
bind = $mainMod, B, exec, firefox
|
bind = $mainMod SHIFT, B, exec, hyprrun firefox --private-window
|
||||||
|
|
||||||
bind = $mainMod SHIFT, B, exec, firefox --private-window
|
|
||||||
|
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
|
|
||||||
@@ -121,20 +119,20 @@ bind = $mainMod, Q, killactive,
|
|||||||
|
|
||||||
#bind = $mainMod SHIFT, R, exec, colorPrefix kitty -e _homeRebuild
|
#bind = $mainMod SHIFT, R, exec, colorPrefix kitty -e _homeRebuild
|
||||||
|
|
||||||
bind = $mainMod, F, exec, thunar
|
bind = $mainMod, F, exec, hyprrun thunar
|
||||||
bind = $mainMod SHIFT, F, fullscreen
|
bind = $mainMod SHIFT, F, fullscreen
|
||||||
|
|
||||||
bind = $mainMod SHIFT, semicolon, exec, colorPrefix kitty -e lf
|
bind = $mainMod SHIFT, semicolon, exec, hyprrun colorPrefix kitty -e lf
|
||||||
|
|
||||||
bind = $mainMod, Insert, exec, libreoffice
|
bind = $mainMod, Insert, exec, hyprrun libreoffice
|
||||||
|
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
|
|
||||||
bind = $mainMod SHIFT, V, exec, vlc
|
bind = $mainMod SHIFT, V, exec, hyprrun vlc
|
||||||
|
|
||||||
bind = , Menu, exec, rofi -show drun
|
bind = , Menu, exec, hyprrun rofi -show drun
|
||||||
|
|
||||||
bind = $mainMod, Menu, exec, hyprpanel -q; hyprpanel
|
bind = $mainMod, Menu, exec, hyprrun hyprpanel -q; hyprrun hyprpanel
|
||||||
|
|
||||||
#bind = $mainMod, P, pseudo, # dwindle
|
#bind = $mainMod, P, pseudo, # dwindle
|
||||||
#bind = $mainMod, Z, togglesplit, # dwindle
|
#bind = $mainMod, Z, togglesplit, # dwindle
|
||||||
@@ -142,34 +140,34 @@ bind = $mainMod, Menu, exec, hyprpanel -q; hyprpanel
|
|||||||
bind = $mainMod, N, layoutmsg, rollnext # master
|
bind = $mainMod, N, layoutmsg, rollnext # master
|
||||||
bind = $mainMod, P, layoutmsg, rollprev # master
|
bind = $mainMod, P, layoutmsg, rollprev # master
|
||||||
|
|
||||||
bind = $mainMod, M, exec, spotify
|
bind = $mainMod, M, exec, hyprrun spotify
|
||||||
|
|
||||||
bind = $mainMod SHIFT, M, exec, firefox soundcloud.com/you/library
|
bind = $mainMod SHIFT, M, exec, hyprrun firefox soundcloud.com/you/library
|
||||||
|
|
||||||
bind = $mainMod CTRL, M, exec, colorPrefix kitty -e ncmpcpp -s browser
|
bind = $mainMod CTRL, M, exec, hyprrun colorPrefix kitty -e ncmpcpp -s browser
|
||||||
|
|
||||||
bind = $mainMod, XF86AudioPlay, exec, mpc load casual
|
bind = $mainMod, XF86AudioPlay, exec, hyprrun mpc load casual
|
||||||
|
|
||||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
bind = , XF86AudioPlay, exec, hyprrun playerctl play-pause
|
||||||
|
|
||||||
bind = , XF86AudioPause, exec, playerctl pause
|
bind = , XF86AudioPause, exec, hyprrun playerctl pause
|
||||||
|
|
||||||
bind = , XF86AudioNext, exec, playerctl next
|
bind = , XF86AudioNext, exec, hyprrun playerctl next
|
||||||
|
|
||||||
bind = , XF86AudioPrev, exec, playerctl previous
|
bind = , XF86AudioPrev, exec, hyprrun playerctl previous
|
||||||
|
|
||||||
bind = , XF86Launch2, exec, steam
|
bind = , XF86Launch2, exec, hyprrun steam
|
||||||
bind = $mainMod, XF86Launch2, exec, prismlauncher
|
bind = $mainMod, XF86Launch2, exec, hyprrun prismlauncher
|
||||||
|
|
||||||
bind = , XF86Calculator, exec, geogebra
|
bind = , XF86Calculator, exec, hyprrun geogebra
|
||||||
|
|
||||||
bind = $mainMod SHIFT, Print, exec, firefox localhost:631
|
bind = $mainMod SHIFT, Print, exec, hyprrun firefox localhost:631
|
||||||
|
|
||||||
bind = $mainMod, Return, exec, discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
bind = $mainMod, Return, exec, hyprrun discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||||
|
|
||||||
bind = $mainMod CTRL, Return, exec, firefox https://discord.com/app
|
bind = $mainMod CTRL, Return, exec, hyprrun firefox https://discord.com/app
|
||||||
|
|
||||||
bind = , Home, exec, setWallpaper
|
bind = , Home, exec, hyprrun setWallpaper
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
# Move focus with mainMod + arrow keys
|
||||||
bind = $mainMod, W, movefocus, u
|
bind = $mainMod, W, movefocus, u
|
||||||
@@ -241,7 +239,7 @@ bind = , XF86MonBrightnessDown, exec, brightnessctl set 10%-
|
|||||||
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%+
|
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%+
|
||||||
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%-
|
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%-
|
||||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
|
||||||
bind = $mainMod, F9, exec, pavucontrol
|
bind = $mainMod, F9, exec, hyprrun pavucontrol
|
||||||
|
|
||||||
#screen lock key
|
#screen lock key
|
||||||
#bind = $mainMod, F12, exec, swaylock
|
#bind = $mainMod, F12, exec, swaylock
|
||||||
@@ -281,7 +279,7 @@ bind = $mainMod, E, exec, pypr toggle kitty
|
|||||||
bind = $mainMod, C, exec, pypr toggle calendar
|
bind = $mainMod, C, exec, pypr toggle calendar
|
||||||
|
|
||||||
|
|
||||||
bind = CTRL SHIFT, Home, exec, ssh nathan@esotericbytes.com -fL 5900:localhost:5900 sleep 10; vncviewer localhost:5900 -fullscreen
|
bind = CTRL SHIFT, Home, exec, hyprrun ssh nathan@esotericbytes.com -fL 5900:localhost:5900 sleep 10; vncviewer localhost:5900 -fullscreen
|
||||||
bind = CTRL SHIFT, Home, submap, clean
|
bind = CTRL SHIFT, Home, submap, clean
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
[scratchpads.lf]
|
[scratchpads.lf]
|
||||||
animation = "fromTop"
|
animation = "fromTop"
|
||||||
command = "kitty --class scratchpad-lf lf ~"
|
command = "hyprrun kitty --class scratchpad-lf lf ~"
|
||||||
lazy = true
|
lazy = true
|
||||||
class = "scratchpad-lf"
|
class = "scratchpad-lf"
|
||||||
margin = 100
|
margin = 100
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
[scratchpads.kitty]
|
[scratchpads.kitty]
|
||||||
animation = "fromBottom"
|
animation = "fromBottom"
|
||||||
command = "kitty --class scratchpad-kitty"
|
command = "hyprrun kitty --class scratchpad-kitty"
|
||||||
class = "scratchpad-kitty"
|
class = "scratchpad-kitty"
|
||||||
lazy = true
|
lazy = true
|
||||||
margin = 100
|
margin = 100
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
[scratchpads.calendar]
|
[scratchpads.calendar]
|
||||||
animation = "fromTop"
|
animation = "fromTop"
|
||||||
command = "kitty --class scratchpad-cal -e calcurse"
|
command = "hyprrun kitty --class scratchpad-cal -e calcurse"
|
||||||
class = "scratchpad-cal"
|
class = "scratchpad-cal"
|
||||||
lazy = true
|
lazy = true
|
||||||
margin = 100
|
margin = 100
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
'')
|
'')
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin "colorPrefix" ''
|
(pkgs.writeShellScriptBin "colorPrefix" ''
|
||||||
exec -a "$0" "$@" &
|
eval "$@" &
|
||||||
sleep 0.4
|
sleep 0.4
|
||||||
${pkgs.pywalfox-native}/bin/pywalfox update &
|
${pkgs.pywalfox-native}/bin/pywalfox update &
|
||||||
pidof kitty && pkill -USR1 kitty
|
pidof kitty && pkill -USR1 kitty
|
||||||
|
|||||||
@@ -31,6 +31,9 @@
|
|||||||
init = {
|
init = {
|
||||||
defaultBranch = "master";
|
defaultBranch = "master";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
safe.directory = "/etc/nixos";
|
||||||
|
|
||||||
url = {
|
url = {
|
||||||
"ssh://gitea@esotericbytes.com/" = {
|
"ssh://gitea@esotericbytes.com/" = {
|
||||||
insteadOf = [
|
insteadOf = [
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
systemd = {
|
systemd = {
|
||||||
enable = true;
|
enable = false;
|
||||||
variables = [ "--all" ];
|
variables = [ "--all" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,12 @@
|
|||||||
|
|
||||||
configs = {
|
configs = {
|
||||||
|
|
||||||
default = config.homeDirectory + "/Projects/Olympus/system/users/nathan/home-manager/dotfiles/quickshell/shell.qml";
|
default = config.homeDirectory + "/${config.home.file.".config/quickshell".target}";
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd = {
|
||||||
|
enable = true;
|
||||||
|
target = lib.mkIf config.homeconfig.hyprland.enable "wayland-session@Hyprland.target";
|
||||||
};
|
};
|
||||||
|
|
||||||
activeConfig = "default";
|
activeConfig = "default";
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{ config, lib, ... }: {
|
||||||
|
|
||||||
|
options.homeconfig.opencode.enable = with lib; mkOption {
|
||||||
|
type = with types; bool;
|
||||||
|
default = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.homeconfig.opencode.enable {
|
||||||
|
|
||||||
|
programs.opencode = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
theme = "system";
|
||||||
|
model = "";
|
||||||
|
|
||||||
|
provider = {
|
||||||
|
ollama-local = {
|
||||||
|
name = "Ollama (local)";
|
||||||
|
|
||||||
|
npm = "@ai-sdk/openai-compatible";
|
||||||
|
|
||||||
|
options.baseURL = "http://localhost:11434/v1";
|
||||||
|
|
||||||
|
models = {
|
||||||
|
"ministral-3:8b".name = "Ministral 3 8B";
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -21,6 +21,11 @@
|
|||||||
|
|
||||||
python = "python3.13";
|
python = "python3.13";
|
||||||
python3 = "python3.13";
|
python3 = "python3.13";
|
||||||
|
|
||||||
|
hyprrun = with lib; mkMerge [
|
||||||
|
(mkIf config.programs.hyprland.withUWSM "uwsm app --")
|
||||||
|
(mkIf (!config.programs.hyprland.withUWSM) ";")
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
history = {
|
history = {
|
||||||
|
|||||||
Reference in New Issue
Block a user