Compare commits
No commits in common. "647423692c2ca0786f5a1abaafbd3755a64367d7" and "d81ea35db9ffac1a02dbe5a1b200591d84fa259e" have entirely different histories.
647423692c
...
d81ea35db9
7 changed files with 72 additions and 102 deletions
|
|
@ -6,7 +6,6 @@
|
||||||
window = {
|
window = {
|
||||||
decorations = "None";
|
decorations = "None";
|
||||||
dynamic_title = false;
|
dynamic_title = false;
|
||||||
opacity = 0.94;
|
|
||||||
};
|
};
|
||||||
colors = {
|
colors = {
|
||||||
primary = {
|
primary = {
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"${modifier}+Return" = "exec ${terminal}";
|
"${modifier}+return" = "exec ${terminal}";
|
||||||
"${modifier}+space" = "exec pkill rofi || rofi -show drun";
|
"${modifier}+space" = "exec pkill rofi || rofi -show drun";
|
||||||
"${modifier}+q" = "kill";
|
"${modifier}+q" = "kill";
|
||||||
"${modifier}+shift+Escape" = "exit";
|
"${modifier}+shift+Escape" = "exit";
|
||||||
|
|
@ -73,19 +73,19 @@
|
||||||
"${modifier}+shift+9" = "move container to workspace number 9";
|
"${modifier}+shift+9" = "move container to workspace number 9";
|
||||||
"${modifier}+shift+0" = "move container to workspace number 10";
|
"${modifier}+shift+0" = "move container to workspace number 10";
|
||||||
|
|
||||||
"${modifier}+Left" = "resize shrink width 10 px or 10 ppt";
|
"${modifier}+left" = "resize shrink width 10 px or 10 ppt";
|
||||||
"${modifier}+Down" = "resize shrink height 10 px or 10 ppt";
|
"${modifier}+down" = "resize shrink height 10 px or 10 ppt";
|
||||||
"${modifier}+Up" = "resize grow height 10 px or 10 ppt";
|
"${modifier}+up" = "resize grow height 10 px or 10 ppt";
|
||||||
"${modifier}+Right" = "resize grow width 10 px or 10 ppt";
|
"${modifier}+right" = "resize grow width 10 px or 10 ppt";
|
||||||
|
|
||||||
"Print" = "exec sh -c 'maim -s | xclip -selection clipboard -t image/png'";
|
"Print" = "exec sh -c 'maim -s | xclip -selection clipboard -t image/png'";
|
||||||
};
|
};
|
||||||
|
|
||||||
bars = [
|
bars = [
|
||||||
# {
|
{
|
||||||
# position = "top";
|
position = "top";
|
||||||
# statusCommand = "${pkgs.i3status}/bin/i3status";
|
statusCommand = "${pkgs.i3status}/bin/i3status";
|
||||||
# }
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
startup = [ ];
|
startup = [ ];
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
# Window settings
|
# Window settings
|
||||||
background_opacity = 0.9;
|
background_opacity = 1.0;
|
||||||
os_window_class = "kitty";
|
os_window_class = "kitty";
|
||||||
remember_window_size = false;
|
remember_window_size = false;
|
||||||
placement_strategy = "center";
|
placement_strategy = "center";
|
||||||
|
|
|
||||||
|
|
@ -5,19 +5,6 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# Caps Lock as Escape for console/tty and Wayland
|
|
||||||
console.useXkbConfig = true;
|
|
||||||
services.xserver.xkb = {
|
|
||||||
layout = "us";
|
|
||||||
options = "caps:escape";
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
||||||
config.common.default = [ "gtk" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# displayManager.startx.enable = true;
|
# displayManager.startx.enable = true;
|
||||||
|
|
@ -28,43 +15,36 @@
|
||||||
dmenu
|
dmenu
|
||||||
i3status
|
i3status
|
||||||
i3lock
|
i3lock
|
||||||
maim
|
|
||||||
xclip
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
desktopManager = {
|
desktopManager = {
|
||||||
# xterm.enable = false;
|
xterm.enable = true;
|
||||||
# xfce = {
|
xfce = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# noDesktop = true;
|
noDesktop = true;
|
||||||
# enableXfwm = false;
|
enableXfwm = false;
|
||||||
# };
|
};
|
||||||
};
|
};
|
||||||
displayManager = {
|
displayManager = {
|
||||||
lightdm.enable = true;
|
# lightdm.enable = true;
|
||||||
defaultSession = "none+i3";
|
defaultSession = "xfce+i3";
|
||||||
# defaultSession = "xfce+i3";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.graphics.enable = true;
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
vt = 2;
|
||||||
|
settings = {
|
||||||
|
default_session = {
|
||||||
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --remember-session --cmd '${pkgs.dbus}/bin/dbus-run-session ${pkgs.xorg.xinit}/bin/startx ${pkgs.xfce.xfce4-session}/bin/startxfce4 -- ${pkgs.xorg.xorgserver}/bin/X -keeptty -quiet vt${toString config.services.greetd.vt}'";
|
||||||
|
user = "greeter";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
xdg.portal = {
|
||||||
# xfce.xfce4-panel
|
enable = true;
|
||||||
# xfce.xfce4-session
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
# xfce.xfce4-settings
|
config.common.default = [ "gtk" ];
|
||||||
# xfce.xfce4-power-manager
|
};
|
||||||
# xfce.xfce4-pulseaudio-plugin
|
|
||||||
# xfce.xfce4-screenshooter
|
|
||||||
# xfce.xfce4-clipman-plugin
|
|
||||||
# xfce.xfce4-sensors-plugin
|
|
||||||
# xfce.xfce4-notifyd
|
|
||||||
pavucontrol
|
|
||||||
];
|
|
||||||
|
|
||||||
# Applets/services for tray widgets
|
|
||||||
programs.nm-applet.enable = true;
|
|
||||||
services.blueman.enable = true;
|
|
||||||
services.upower.enable = true;
|
|
||||||
# xfce4-notifyd is provided as a package; XFCE runs it automatically
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,25 +6,6 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Caps Lock as Escape for console/tty and Wayland
|
|
||||||
console.useXkbConfig = true;
|
|
||||||
services.xserver.xkb = {
|
|
||||||
layout = "us";
|
|
||||||
options = "caps:escape";
|
|
||||||
};
|
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
extraPortals = lib.mkForce [
|
|
||||||
pkgs.xdg-desktop-portal-wlr
|
|
||||||
pkgs.xdg-desktop-portal-gtk
|
|
||||||
];
|
|
||||||
config.common.default = [
|
|
||||||
"wlr"
|
|
||||||
"gtk"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
vt = 2;
|
vt = 2;
|
||||||
|
|
@ -36,6 +17,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Caps Lock as Escape for console/tty and Wayland
|
||||||
|
console.useXkbConfig = true;
|
||||||
|
services.xserver.xkb = {
|
||||||
|
layout = "us";
|
||||||
|
options = "caps:escape";
|
||||||
|
};
|
||||||
|
|
||||||
# Core packages and tools
|
# Core packages and tools
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
|
@ -67,6 +55,18 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = lib.mkForce [
|
||||||
|
pkgs.xdg-desktop-portal-wlr
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
];
|
||||||
|
config.common.default = [
|
||||||
|
"wlr"
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Enable PipeWire + WirePlumber so xdg-desktop-portal can do screencast
|
# Enable PipeWire + WirePlumber so xdg-desktop-portal can do screencast
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -55,8 +55,8 @@
|
||||||
common.nixosModules.git
|
common.nixosModules.git
|
||||||
common.nixosModules.tmux
|
common.nixosModules.tmux
|
||||||
common.nixosModules.boot_systemd
|
common.nixosModules.boot_systemd
|
||||||
# common.nixosModules.de_sway
|
common.nixosModules.de_sway
|
||||||
common.nixosModules.de_i3
|
# common.nixosModules.de_i3
|
||||||
common.nixosModules.hardening
|
common.nixosModules.hardening
|
||||||
common.nixosModules.jetbrains_font
|
common.nixosModules.jetbrains_font
|
||||||
common.nixosModules.nix_options
|
common.nixosModules.nix_options
|
||||||
|
|
@ -73,8 +73,8 @@
|
||||||
(import ./containers.nix { inherit inputs; })
|
(import ./containers.nix { inherit inputs; })
|
||||||
# ./jails_text.nix
|
# ./jails_text.nix
|
||||||
# ./hyprland_customizations.nix
|
# ./hyprland_customizations.nix
|
||||||
# ./sway_customizations.nix
|
./sway_customizations.nix
|
||||||
./i3_customizations.nix
|
# ./i3_customizations.nix
|
||||||
./opencode-shim.nix
|
./opencode-shim.nix
|
||||||
(
|
(
|
||||||
{
|
{
|
||||||
|
|
@ -97,15 +97,14 @@
|
||||||
}) (lib.filterAttrs (name: user: user.isNormalUser or false) users.users);
|
}) (lib.filterAttrs (name: user: user.isNormalUser or false) users.users);
|
||||||
|
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
# common.homeManagerModules.de_sway
|
common.homeManagerModules.de_sway
|
||||||
common.homeManagerModules.de_i3
|
# common.homeManagerModules.de_i3
|
||||||
common.homeManagerModules.tmux
|
common.homeManagerModules.tmux
|
||||||
common.homeManagerModules.atuin
|
common.homeManagerModules.atuin
|
||||||
common.homeManagerModules.direnv
|
common.homeManagerModules.direnv
|
||||||
common.homeManagerModules.foot
|
common.homeManagerModules.foot
|
||||||
common.homeManagerModules.git
|
common.homeManagerModules.git
|
||||||
common.homeManagerModules.kitty
|
common.homeManagerModules.kitty
|
||||||
common.homeManagerModules.launcher_rofi
|
|
||||||
common.homeManagerModules.postgres_cli_options
|
common.homeManagerModules.postgres_cli_options
|
||||||
common.homeManagerModules.slicer
|
common.homeManagerModules.slicer
|
||||||
common.homeManagerModules.ssh
|
common.homeManagerModules.ssh
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,17 @@ let
|
||||||
'';
|
'';
|
||||||
bg1 = ../_shared_assets/wallpapers/pixel_neon.png;
|
bg1 = ../_shared_assets/wallpapers/pixel_neon.png;
|
||||||
bg2 = ../_shared_assets/wallpapers/pixel_neon_v.png;
|
bg2 = ../_shared_assets/wallpapers/pixel_neon_v.png;
|
||||||
xrSetup = "xrandr --output DP-1 --mode 3840x2160 --rate 97.983 --pos 0x0 --primary; xrandr --output DP-2 --mode 3440x1440 --rate 99.982 --rotate left --left-of DP-1";
|
xrSetup = ''
|
||||||
xwallpaperCmd = "xwallpaper --output DP-1 --zoom ${bg1} --output DP-2 --zoom ${bg2}";
|
xrandr --output DP-1 --mode 3840x2160 --rate 97.983 --pos 0x0 --primary
|
||||||
startupCmd = "sh -c 'sleep 0.2; i3-msg workspace number 7; sleep 0.2; i3-msg workspace number 1'";
|
xrandr --output DP-2 --mode 3440x1440 --rate 99.982 --rotate left --left-of DP-1
|
||||||
|
'';
|
||||||
|
fehCmd = "feh --bg-fill ${bg1} ${bg2}";
|
||||||
|
startupCmd = "sh -c 'sleep 0.05; i3-msg workspace number 7; sleep 0.05; i3-msg workspace number 1'";
|
||||||
i3ExtraOptions = {
|
i3ExtraOptions = {
|
||||||
startup = [
|
startup = [
|
||||||
{ command = "${xrSetup}"; }
|
{ command = "exec --no-startup-id ${fehCmd}"; }
|
||||||
{ command = "sh -c 'sleep 0.5; ${xwallpaperCmd}'"; }
|
{ command = "exec --no-startup-id ${xrSetup}"; }
|
||||||
{ command = "${startupCmd}"; }
|
{ command = "exec --no-startup-id ${startupCmd}"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
@ -30,22 +33,11 @@ in
|
||||||
config = {
|
config = {
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
(
|
(
|
||||||
{ lib, pkgs, ... }:
|
{ ... }:
|
||||||
let
|
{
|
||||||
inherit (lib) mkAfter;
|
# xsession.windowManager.i3.config = i3ExtraOptions;
|
||||||
in
|
# xsession.windowManager.i3.extraConfig = assignLines;
|
||||||
{
|
}
|
||||||
xsession.windowManager.i3.config.bars = lib.mkForce [];
|
|
||||||
xsession.windowManager.i3.config.startup = mkAfter (i3ExtraOptions.startup ++ [
|
|
||||||
{ command = "nm-applet"; }
|
|
||||||
{ command = "blueman-applet"; }
|
|
||||||
{ command = "xfce4-power-manager"; }
|
|
||||||
{ command = "sh -c 'pgrep -x xfsettingsd >/dev/null || xfsettingsd'"; }
|
|
||||||
{ command = "sh -c 'pgrep -x xfce4-panel >/dev/null || (sleep 0.5; xfce4-panel --disable-wm-check)'"; }
|
|
||||||
]);
|
|
||||||
xsession.windowManager.i3.extraConfig = mkAfter assignLines;
|
|
||||||
home.packages = [ pkgs.xwallpaper pkgs.xorg.xrandr ];
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue