Compare commits
No commits in common. "446e5ab59bc16752e8b1b652a421649dd7c14886" and "567a3790d5f74a209b70f3f32b4879b366e72c62" have entirely different histories.
446e5ab59b
...
567a3790d5
18
flake.lock
generated
18
flake.lock
generated
@ -143,11 +143,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730837930,
|
"lastModified": 1729027341,
|
||||||
"narHash": "sha256-0kZL4m+bKBJUBQse0HanewWO0g8hDdCvBhudzxgehqc=",
|
"narHash": "sha256-IqWD7bA9iJVifvJlB4vs2KUXVhN+d9lECWdNB4jJ0tE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2f607e07f3ac7e53541120536708e824acccfaa8",
|
"rev": "2a4fd1cfd8ed5648583dadef86966a8231024221",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -179,11 +179,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730919458,
|
"lastModified": 1728729581,
|
||||||
"narHash": "sha256-yMO0T0QJlmT/x4HEyvrCyigGrdYfIXX3e5gWqB64wLg=",
|
"narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "e1cc1f6483393634aee94514186d21a4871e78d7",
|
"rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -246,11 +246,11 @@
|
|||||||
"tinted-tmux": "tinted-tmux"
|
"tinted-tmux": "tinted-tmux"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731002033,
|
"lastModified": 1728900372,
|
||||||
"narHash": "sha256-uGjTjvvlGQfQ0yypVP+at0NizI2nrb6kz4wGAqzRGbY=",
|
"narHash": "sha256-hmG/u7qZEm7CTh1XPDi+pg4Oi0nNrv7sL8PgZDRe6wg=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "f71c2effed1ce4f9fbeefe402e4e431428ffe93a",
|
"rev": "33a2eff15181e557bb6dd9d2073b90f7d218975d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -1,133 +0,0 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [ ./waybar.nix ./tile.nix ];
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland = {
|
|
||||||
enable = true;
|
|
||||||
systemd.variables = [ "--all" ];
|
|
||||||
xwayland.enable = true;
|
|
||||||
settings = {
|
|
||||||
exec-once = [ "${pkgs.hyprpaper}/bin/hyprpaper" ];
|
|
||||||
monitor = ",preferred,auto,1";
|
|
||||||
general = {
|
|
||||||
"$mainMod" = "SUPER";
|
|
||||||
layout = "master";
|
|
||||||
"$terminal" = "${pkgs.alacritty}/bin/alacritty";
|
|
||||||
"$menu" = "${pkgs.wofi}/bin/wofi --show drun";
|
|
||||||
gaps_in = 5;
|
|
||||||
gaps_out = 10;
|
|
||||||
border_size = 2;
|
|
||||||
};
|
|
||||||
|
|
||||||
decoration = {
|
|
||||||
rounding = 15;
|
|
||||||
blur = {
|
|
||||||
enabled = true;
|
|
||||||
size = 2;
|
|
||||||
passes = 2;
|
|
||||||
brightness = 1;
|
|
||||||
noise = .3;
|
|
||||||
new_optimizations = true;
|
|
||||||
};
|
|
||||||
drop_shadow = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
misc = {
|
|
||||||
disable_autoreload = true;
|
|
||||||
disable_hyprland_logo = true;
|
|
||||||
always_follow_on_dnd = true;
|
|
||||||
layers_hog_keyboard_focus = true;
|
|
||||||
animate_manual_resizes = false;
|
|
||||||
enable_swallow = true;
|
|
||||||
focus_on_activate = true;
|
|
||||||
new_window_takes_over_fullscreen = 2;
|
|
||||||
middle_click_paste = true;
|
|
||||||
vfr = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
bind = [
|
|
||||||
# keybindings
|
|
||||||
"$mainMod, Return, exec, $terminal"
|
|
||||||
"$mainMod, D, exec, $menu"
|
|
||||||
"$mainMod Shift, C, killactive,"
|
|
||||||
"$mainMod, Space, exec, toggle_float"
|
|
||||||
"$mainMod, Escape, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
|
||||||
|
|
||||||
# switch focus
|
|
||||||
"$mainMod, left, movefocus, l"
|
|
||||||
"$mainMod, right, movefocus, r"
|
|
||||||
"$mainMod, up, movefocus, u"
|
|
||||||
"$mainMod, down, movefocus, d"
|
|
||||||
|
|
||||||
|
|
||||||
# switch workspace
|
|
||||||
"$mainMod, 1, workspace, 1"
|
|
||||||
"$mainMod, 2, workspace, 2"
|
|
||||||
"$mainMod, 3, workspace, 3"
|
|
||||||
"$mainMod, 4, workspace, 4"
|
|
||||||
"$mainMod, 5, workspace, 5"
|
|
||||||
"$mainMod, 6, workspace, 6"
|
|
||||||
"$mainMod, 7, workspace, 7"
|
|
||||||
"$mainMod, 8, workspace, 8"
|
|
||||||
"$mainMod, 9, workspace, 9"
|
|
||||||
"$mainMod, 0, workspace, 10"
|
|
||||||
|
|
||||||
# same as above, but switch to the workspace
|
|
||||||
"$mainMod SHIFT, 1, movetoworkspacesilent, 1" # movetoworkspacesilent
|
|
||||||
"$mainMod SHIFT, 2, movetoworkspacesilent, 2"
|
|
||||||
"$mainMod SHIFT, 3, movetoworkspacesilent, 3"
|
|
||||||
"$mainMod SHIFT, 4, movetoworkspacesilent, 4"
|
|
||||||
"$mainMod SHIFT, 5, movetoworkspacesilent, 5"
|
|
||||||
"$mainMod SHIFT, 6, movetoworkspacesilent, 6"
|
|
||||||
"$mainMod SHIFT, 7, movetoworkspacesilent, 7"
|
|
||||||
"$mainMod SHIFT, 8, movetoworkspacesilent, 8"
|
|
||||||
"$mainMod SHIFT, 9, movetoworkspacesilent, 9"
|
|
||||||
"$mainMod SHIFT, 0, movetoworkspacesilent, 10"
|
|
||||||
"$mainMod CTRL, c, movetoworkspace, empty"
|
|
||||||
|
|
||||||
# window control
|
|
||||||
"$mainMod SHIFT, left, movewindow, l"
|
|
||||||
"$mainMod SHIFT, right, movewindow, r"
|
|
||||||
"$mainMod SHIFT, up, movewindow, u"
|
|
||||||
"$mainMod SHIFT, down, movewindow, d"
|
|
||||||
"$mainMod CTRL, left, resizeactive, -80 0"
|
|
||||||
"$mainMod CTRL, right, resizeactive, 80 0"
|
|
||||||
"$mainMod CTRL, up, resizeactive, 0 -80"
|
|
||||||
"$mainMod CTRL, down, resizeactive, 0 80"
|
|
||||||
"$mainMod ALT, left, moveactive, -80 0"
|
|
||||||
"$mainMod ALT, right, moveactive, 80 0"
|
|
||||||
"$mainMod ALT, up, moveactive, 0 -80"
|
|
||||||
"$mainMod ALT, down, moveactive, 0 80"
|
|
||||||
|
|
||||||
# media and volume controls
|
|
||||||
# ",XF86AudioMute,exec, pamixer -t"
|
|
||||||
",XF86AudioPlay,exec, playerctl play-pause"
|
|
||||||
",XF86AudioNext,exec, playerctl next"
|
|
||||||
",XF86AudioPrev,exec, playerctl previous"
|
|
||||||
",XF86AudioStop,exec, playerctl stop"
|
|
||||||
];
|
|
||||||
|
|
||||||
bindm = [
|
|
||||||
"$mainMod, mouse:272, movewindow"
|
|
||||||
"$mainMod, mouse:273, resizewindow"
|
|
||||||
];
|
|
||||||
|
|
||||||
windowrule =
|
|
||||||
[ "float,mpv" "center,mpv" "pin,wofi" "idleinhibit focus,mpv" ];
|
|
||||||
|
|
||||||
windowrulev2 = [ ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
|
||||||
MOZ_USE_XINPUT2 = "1";
|
|
||||||
XDG_SESSION_TYPE = "wayland";
|
|
||||||
SDL_VIDEODRIVER = "wayland";
|
|
||||||
QT_QPA_PLATFORM = "wayland";
|
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
|
||||||
_JAVA_AWT_WM_NONREPARENTING = 1;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -11,7 +11,7 @@
|
|||||||
window.border = 1;
|
window.border = 1;
|
||||||
window.titlebar = false;
|
window.titlebar = false;
|
||||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
menu = "${pkgs.wofi}/bin/wofi --show drun";
|
menu = "${pkgs.wofi}/bin/wofi -show drun -modi drun";
|
||||||
bars = [];
|
bars = [];
|
||||||
gaps = {
|
gaps = {
|
||||||
inner = 10;
|
inner = 10;
|
||||||
|
|||||||
@ -1,14 +1,12 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services = {
|
|
||||||
mako = { enable = true; };
|
|
||||||
};
|
|
||||||
programs = {
|
programs = {
|
||||||
|
mako = { enable = true; };
|
||||||
alacritty = { enable = true; };
|
alacritty = { enable = true; };
|
||||||
swaylock = {enable = true;};
|
swaylock = {enable = true;};
|
||||||
wofi = { enable = true; };
|
wofi = { enable = true; };
|
||||||
zathura = { enable = true; };
|
zathura = { enable = true; };
|
||||||
mpv = { enable = true; };
|
mpv = { enable = true; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -7,9 +7,6 @@
|
|||||||
layer = "bottom";
|
layer = "bottom";
|
||||||
position = "bottom";
|
position = "bottom";
|
||||||
output = [ "eDP-1" ];
|
output = [ "eDP-1" ];
|
||||||
margin-left = 45;
|
|
||||||
margin-right = 45;
|
|
||||||
spacing = 15;
|
|
||||||
|
|
||||||
modules-left = [ "sway/workspaces" "sway/mode" ];
|
modules-left = [ "sway/workspaces" "sway/mode" ];
|
||||||
modules-center = [ "clock" ];
|
modules-center = [ "clock" ];
|
||||||
@ -29,16 +26,16 @@
|
|||||||
|
|
||||||
"pulseaudio" = {
|
"pulseaudio" = {
|
||||||
format = "{volume}% {icon}";
|
format = "{volume}% {icon}";
|
||||||
format-bluetooth = "{volume}% {icon} ";
|
format-bluetooth = "{volume}% {icon}";
|
||||||
format-muted = " ";
|
format-muted = "";
|
||||||
format-icons = {
|
format-icons = {
|
||||||
headphone = " ";
|
headphone = "";
|
||||||
hands-free = " ";
|
hands-free = "";
|
||||||
headset = " ";
|
headset = "";
|
||||||
phone = " ";
|
phone = "";
|
||||||
portable = " ";
|
portable = "";
|
||||||
car = " ";
|
car = "";
|
||||||
default = [ " " " " ];
|
default = [ "" "" ];
|
||||||
};
|
};
|
||||||
scroll-step = 1;
|
scroll-step = 1;
|
||||||
on-click = "pavucontrol";
|
on-click = "pavucontrol";
|
||||||
@ -54,26 +51,22 @@
|
|||||||
|
|
||||||
network = {
|
network = {
|
||||||
format = "{ifname}";
|
format = "{ifname}";
|
||||||
format-wifi = "{essid} ({signalStrength}%) ";
|
format-wifi = "{essid} ({signalStrength}%) ";
|
||||||
format-ethernet = "{ipaddr}/{cidr} ";
|
format-ethernet = "{ipaddr}/{cidr} ";
|
||||||
format-disconnected = " ";
|
format-disconnected = "";
|
||||||
tooltip-format = "{ifname} via {gwaddr} ";
|
tooltip-format = "{ifname} via {gwaddr} ";
|
||||||
tooltip-format-wifi = "{essid} ({signalStrength}%) ";
|
tooltip-format-wifi = "{essid} ({signalStrength}%) ";
|
||||||
tooltip-format-ethernet = "{ifname} ";
|
tooltip-format-ethernet = "{ifname} ";
|
||||||
tooltip-format-disconnected = "Disconnected";
|
tooltip-format-disconnected = "Disconnected";
|
||||||
max-length = 50;
|
max-length = 50;
|
||||||
};
|
};
|
||||||
|
|
||||||
battery = {
|
battery = {
|
||||||
format = "{capacity}% {icon}";
|
format = "{capacity}% {icon}";
|
||||||
"format-icons" = [ " " " " " " " " " " ];
|
"format-icons" = [ "" "" "" "" "" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
clock = {
|
clock = { "format-alt" = "{:%a, %d. %b %H:%M}"; };
|
||||||
format = "{:%I:%M %p}";
|
|
||||||
"format-alt" = "{:%a, %d. %b %H:%M}";
|
|
||||||
tooltip = false;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -9,7 +9,6 @@
|
|||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
security.pam.services.hyprlock = {};
|
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
@ -94,7 +93,6 @@
|
|||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
steam.gamescopeSession.enable = true;
|
steam.gamescopeSession.enable = true;
|
||||||
gamemode.enable = true;
|
gamemode.enable = true;
|
||||||
hyprland.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.k = {
|
users.users.k = {
|
||||||
@ -132,10 +130,7 @@
|
|||||||
intel-vaapi-driver
|
intel-vaapi-driver
|
||||||
intel-compute-runtime
|
intel-compute-runtime
|
||||||
intel-media-driver
|
intel-media-driver
|
||||||
vpl-gpu-rt
|
|
||||||
microcodeIntel
|
microcodeIntel
|
||||||
mkl
|
|
||||||
embree
|
|
||||||
neovim
|
neovim
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../home/home_common.nix ../home/gnome.nix ../home/sway.nix ../home/hyprland.nix];
|
imports = [ ../home/home_common.nix ../home/gnome.nix ../home/sway.nix ];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
@ -39,15 +39,9 @@
|
|||||||
services = {
|
services = {
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
activitywatch.enable = true;
|
activitywatch.enable = true;
|
||||||
|
|
||||||
mpd = {
|
|
||||||
enable = true;
|
|
||||||
musicDirectory = "/home/k/Music";
|
|
||||||
};
|
|
||||||
emacs = {
|
emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
package = pkgs.emacs-gtk;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
stylix = {
|
stylix = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user