removes hyprland
This commit is contained in:
parent
eec99cda37
commit
d62e9cec16
@ -22,9 +22,9 @@ in {
|
||||
# Bootloader.
|
||||
boot = {
|
||||
loader = {
|
||||
grub = {
|
||||
splashImage = "./dotfiles/hypr/rust.png";
|
||||
};
|
||||
# grub = {
|
||||
# splashImage = "/etc/nixos/dotfiles/ferris.png";
|
||||
# };
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
@ -56,6 +56,31 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
# Enable Docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# Alternatively, specify docker group members directly
|
||||
# users.extraGroups.docker.members = [ "username-with-access-to-socket" ];
|
||||
|
||||
# Configure storage driver (optional, e.g., for btrfs)
|
||||
# virtualisation.docker.storageDriver = "btrfs";
|
||||
|
||||
# Enable rootless Docker (optional)
|
||||
virtualisation.docker.rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
|
||||
# Change Docker daemon's data root (optional)
|
||||
# virtualisation.docker.daemon.settings = {
|
||||
# data-root = "/some-place/to-store-the-docker-data";
|
||||
# };
|
||||
|
||||
# Use Arion for Docker Compose-like functionality (optional)
|
||||
# modules = [ arion.nixosModules.arion ];
|
||||
# virtualisation.arion = {
|
||||
# Arion configuration goes here
|
||||
# };
|
||||
services = {
|
||||
pipewire = {
|
||||
enable = true;
|
||||
@ -65,17 +90,30 @@ in {
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
theme = "${import ./sddm-theme-dawn.nix {inherit pkgs;}}";
|
||||
};
|
||||
# displayManager.sddm = {
|
||||
# enable = true;
|
||||
# theme = "${import ./sddm-theme-dawn.nix {inherit pkgs;}}";
|
||||
# };
|
||||
|
||||
xserver = {
|
||||
enable = true;
|
||||
desktopManager.gnome = {
|
||||
enable = true;
|
||||
extraGSettingsOverrides = ''
|
||||
[org.gnome.desktop.interface]
|
||||
color-scheme='prefer-dark'
|
||||
'';
|
||||
};
|
||||
|
||||
displayManager.gdm = {
|
||||
enable = true;
|
||||
wayland = true;
|
||||
# extraConfig = ''
|
||||
# [org.gnome.desktop.interface]
|
||||
# gtk-theme='Adwaita-dark'
|
||||
# '';
|
||||
};
|
||||
|
||||
xkb = {
|
||||
layout = "us,de";
|
||||
variant = ",";
|
||||
@ -110,7 +148,7 @@ in {
|
||||
};
|
||||
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
# sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
users.groups.fsc = {
|
||||
@ -122,7 +160,7 @@ in {
|
||||
isNormalUser = true;
|
||||
uid = 1000;
|
||||
description = "itsscb";
|
||||
extraGroups = ["networkmanager" "wheel" "fsc"];
|
||||
extraGroups = ["networkmanager" "wheel" "fsc" "docker"];
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
@ -143,11 +181,11 @@ in {
|
||||
steam = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
# hyprland = {
|
||||
# enable = true;
|
||||
# xwayland.enable = true;
|
||||
# };
|
||||
|
||||
chromium = {
|
||||
enable = true;
|
||||
@ -254,50 +292,50 @@ in {
|
||||
libsForQt5.qt5.qtgraphicaleffects
|
||||
|
||||
# Hyprland / Window Manager
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
# xdg-desktop-portal-gtk
|
||||
# xdg-desktop-portal-hyprland
|
||||
|
||||
## App Starter
|
||||
rofi-wayland
|
||||
# rofi-wayland
|
||||
|
||||
## Network Settings
|
||||
networkmanagerapplet
|
||||
# networkmanagerapplet
|
||||
|
||||
# Audio Settings
|
||||
pavucontrol
|
||||
# pavucontrol
|
||||
|
||||
## Bluetooth Settings
|
||||
blueman
|
||||
# blueman
|
||||
|
||||
## Lockscreen
|
||||
hyprlock
|
||||
# hyprlock
|
||||
|
||||
## Top Bar
|
||||
waybar
|
||||
(
|
||||
waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
||||
})
|
||||
)
|
||||
# waybar
|
||||
# (
|
||||
# waybar.overrideAttrs (oldAttrs: {
|
||||
# mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
||||
# })
|
||||
# )
|
||||
|
||||
## ???
|
||||
dunst
|
||||
# dunst
|
||||
|
||||
## Notification Daemon (?)
|
||||
libnotify
|
||||
# libnotify
|
||||
|
||||
## File Manager
|
||||
# dolphin
|
||||
cinnamon.nemo
|
||||
nemo
|
||||
breeze-icons
|
||||
|
||||
## ???
|
||||
swww
|
||||
# swww
|
||||
|
||||
# Clipboard Manager
|
||||
# xclip
|
||||
# xsel
|
||||
wl-clipboard
|
||||
# wl-clipboard
|
||||
|
||||
# Image Manipulation
|
||||
inkscape
|
||||
@ -337,9 +375,15 @@ in {
|
||||
|
||||
# Editor
|
||||
helix
|
||||
vscode
|
||||
zed-editor
|
||||
|
||||
docker-compose
|
||||
|
||||
# Mail Client
|
||||
thunderbird
|
||||
|
||||
google-chrome
|
||||
];
|
||||
|
||||
sops.validateSopsFiles = false;
|
||||
|
BIN
dotfiles/ferris.png
Executable file
BIN
dotfiles/ferris.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 72 KiB |
243
home.nix
243
home.nix
@ -186,16 +186,19 @@
|
||||
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings."org/gnome/desktop/wm/preferences".button-layout = ":minimize,maximize,close";
|
||||
settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
settings."org/gnome/desktop/background".picture-uri = "file:///etc/nixos/dotfiles/hypr/rust.png";
|
||||
settings."org/gnome/desktop/background".picture-uri-dark = "file:///etc/nixos/dotfiles/hypr/rust.png";
|
||||
settings."org/gnome/desktop/screensaver" = {
|
||||
picture-uri = "file:///etc/nixos/dotfiles/hypr/rust.png";
|
||||
picture-uri-dark = "file:///etc/nixos/dotfiles/hypr/rust.png";
|
||||
};
|
||||
settings."org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
|
||||
settings."org/gnome/desktop/background".picture-uri-dark = "file:///run/current-system/sw/share/backgrounds/gnome/keys-d.jpg";
|
||||
settings."org/gnome/desktop/background".picture-uri = "file:///run/current-system/sw/share/backgrounds/gnome/keys-l.jpg";
|
||||
settings."org/gnome/desktop/background".primary-color = "#aaaaaa";
|
||||
settings."org/gnome/desktop/background".secondary-color = "#000000";
|
||||
# settings."org/gnome/desktop/background".picture-uri-dark = "file:///run/current-system/sw/share/backgrounds/gnome/keys-d.jpg";
|
||||
# settings."org/gnome/desktop/background".picture-uri = "file:///run/current-system/sw/share/backgrounds/gnome/keys-l.jpg";
|
||||
# settings."org/gnome/desktop/background".primary-color = "#aaaaaa";
|
||||
# settings."org/gnome/desktop/background".secondary-color = "#000000";
|
||||
settings."org/gnome/desktop/interface".show-battery-percentage = true;
|
||||
settings."org/gnome/settings-daemon/plugins/media-keys".home = ["<Super>e"];
|
||||
settings."org/gnome/settings-daemon/plugins/media-keys".control-center = ["<Super>i"];
|
||||
@ -230,144 +233,144 @@
|
||||
latexmk;
|
||||
})
|
||||
];
|
||||
wayland.windowManager = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
exec-once = [
|
||||
"swww-daemon"
|
||||
"swww img /etc/nixos/dotfiles/hypr/rust.png"
|
||||
"nm-applet --indicator"
|
||||
"blueman-applet"
|
||||
"waybar"
|
||||
"dunst"
|
||||
];
|
||||
# wayland.windowManager = {
|
||||
# hyprland = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# exec-once = [
|
||||
# "swww-daemon"
|
||||
# "swww img /etc/nixos/dotfiles/hypr/rust.png"
|
||||
# "nm-applet --indicator"
|
||||
# "blueman-applet"
|
||||
# "waybar"
|
||||
# "dunst"
|
||||
# ];
|
||||
|
||||
"$terminal" = "alacritty";
|
||||
"$fileManager" = "kitty yazi";
|
||||
# "$fileManager" = "dolphin";
|
||||
"$menu" = "rofi -show drun";
|
||||
# "$terminal" = "alacritty";
|
||||
# "$fileManager" = "kitty yazi";
|
||||
# # "$fileManager" = "dolphin";
|
||||
# "$menu" = "rofi -show drun";
|
||||
|
||||
"$mod" = "SUPER";
|
||||
# "$mod" = "SUPER";
|
||||
|
||||
monitor = ",preferred,auto,1";
|
||||
# monitor = ",preferred,auto,1";
|
||||
|
||||
general = {
|
||||
layout = "master";
|
||||
gaps_in = 5;
|
||||
gaps_out = 20;
|
||||
border_size = 2;
|
||||
"col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
||||
"col.inactive_border" = "rgba(595959aa)";
|
||||
# general = {
|
||||
# layout = "master";
|
||||
# gaps_in = 5;
|
||||
# gaps_out = 20;
|
||||
# border_size = 2;
|
||||
# "col.active_border" = "rgba(33ccffee) rgba(00ff99ee) 45deg";
|
||||
# "col.inactive_border" = "rgba(595959aa)";
|
||||
|
||||
allow_tearing = false;
|
||||
};
|
||||
# allow_tearing = false;
|
||||
# };
|
||||
|
||||
decoration = {
|
||||
rounding = 10;
|
||||
# decoration = {
|
||||
# rounding = 10;
|
||||
|
||||
blur = {
|
||||
enabled = true;
|
||||
size = 3;
|
||||
passes = 1;
|
||||
};
|
||||
# blur = {
|
||||
# enabled = true;
|
||||
# size = 3;
|
||||
# passes = 1;
|
||||
# };
|
||||
|
||||
drop_shadow = "yes";
|
||||
shadow_range = 4;
|
||||
shadow_render_power = 3;
|
||||
"col.shadow" = "rgba(1a1a1aee)";
|
||||
};
|
||||
# drop_shadow = "yes";
|
||||
# shadow_range = 4;
|
||||
# shadow_render_power = 3;
|
||||
# "col.shadow" = "rgba(1a1a1aee)";
|
||||
# };
|
||||
|
||||
animations = {
|
||||
enabled = "yes";
|
||||
# animations = {
|
||||
# enabled = "yes";
|
||||
|
||||
bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||
# bezier = "myBezier, 0.05, 0.9, 0.1, 1.05";
|
||||
|
||||
animation = [
|
||||
"windows, 1, 7, myBezier"
|
||||
"windowsOut, 1, 7, default, popin 80%"
|
||||
"border, 1, 10, default"
|
||||
"borderangle, 1, 8, default"
|
||||
"fade, 1, 7, default"
|
||||
"workspaces, 1, 6, default"
|
||||
];
|
||||
};
|
||||
# animation = [
|
||||
# "windows, 1, 7, myBezier"
|
||||
# "windowsOut, 1, 7, default, popin 80%"
|
||||
# "border, 1, 10, default"
|
||||
# "borderangle, 1, 8, default"
|
||||
# "fade, 1, 7, default"
|
||||
# "workspaces, 1, 6, default"
|
||||
# ];
|
||||
# };
|
||||
|
||||
gestures = {
|
||||
workspace_swipe = "off";
|
||||
};
|
||||
# gestures = {
|
||||
# workspace_swipe = "off";
|
||||
# };
|
||||
|
||||
misc = {
|
||||
force_default_wallpaper = 0;
|
||||
};
|
||||
# misc = {
|
||||
# force_default_wallpaper = 0;
|
||||
# };
|
||||
|
||||
windowrulev2 = "suppressevent maximize, class:.*";
|
||||
# windowrulev2 = "suppressevent maximize, class:.*";
|
||||
|
||||
input = {
|
||||
follow_mouse = 2;
|
||||
# input = {
|
||||
# follow_mouse = 2;
|
||||
|
||||
touchpad = {
|
||||
natural_scroll = "yes";
|
||||
};
|
||||
};
|
||||
# touchpad = {
|
||||
# natural_scroll = "yes";
|
||||
# };
|
||||
# };
|
||||
|
||||
# master = {
|
||||
# new_is_master = false;
|
||||
# };
|
||||
# # master = {
|
||||
# # new_is_master = false;
|
||||
# # };
|
||||
|
||||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
];
|
||||
# bindm = [
|
||||
# "$mod, mouse:272, movewindow"
|
||||
# "$mod, mouse:273, resizewindow"
|
||||
# ];
|
||||
|
||||
bind =
|
||||
[
|
||||
"$mod, T, exec, $terminal"
|
||||
"$mod, L, exec, hyprlock"
|
||||
"$mod, Q, exec, $terminal"
|
||||
"$mod SHIFT, L, exit"
|
||||
"$mod, C, killactive"
|
||||
"$mod, E, exec, $fileManager"
|
||||
"$mod, V, exec, togglefloating"
|
||||
"$mod, R, exec, $menu"
|
||||
"$mod, P, pseudo,"
|
||||
"$mod, O, togglesplit,"
|
||||
"$mod, U, fullscreen,"
|
||||
"$mod, P, focuscurrentorlast,"
|
||||
"$mod, P, movewindow,l"
|
||||
# "$mod, H, movefocus, l"
|
||||
# "$mod, K, movefocus, u"
|
||||
"$mod, J, movefocus, d"
|
||||
"$mod, S, togglespecialworkspace, magic"
|
||||
"$mod SHIFT, S, movetoworkspace, special:magic"
|
||||
"$mod, mouse_down, workspace, e+1"
|
||||
"$mod, mouse_up, workspace, e-1"
|
||||
]
|
||||
++ (
|
||||
# workspaces
|
||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
builtins.concatLists (builtins.genList (
|
||||
x: let
|
||||
ws = let
|
||||
c = (x + 1) / 10;
|
||||
in
|
||||
builtins.toString (x + 1 - (c * 10));
|
||||
in [
|
||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
]
|
||||
)
|
||||
10)
|
||||
);
|
||||
};
|
||||
};
|
||||
};
|
||||
# bind =
|
||||
# [
|
||||
# "$mod, T, exec, $terminal"
|
||||
# "$mod, L, exec, hyprlock"
|
||||
# "$mod, Q, exec, $terminal"
|
||||
# "$mod SHIFT, L, exit"
|
||||
# "$mod, C, killactive"
|
||||
# "$mod, E, exec, $fileManager"
|
||||
# "$mod, V, exec, togglefloating"
|
||||
# "$mod, R, exec, $menu"
|
||||
# "$mod, P, pseudo,"
|
||||
# "$mod, O, togglesplit,"
|
||||
# "$mod, U, fullscreen,"
|
||||
# "$mod, P, focuscurrentorlast,"
|
||||
# "$mod, P, movewindow,l"
|
||||
# # "$mod, H, movefocus, l"
|
||||
# # "$mod, K, movefocus, u"
|
||||
# "$mod, J, movefocus, d"
|
||||
# "$mod, S, togglespecialworkspace, magic"
|
||||
# "$mod SHIFT, S, movetoworkspace, special:magic"
|
||||
# "$mod, mouse_down, workspace, e+1"
|
||||
# "$mod, mouse_up, workspace, e-1"
|
||||
# ]
|
||||
# ++ (
|
||||
# # workspaces
|
||||
# # binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
# builtins.concatLists (builtins.genList (
|
||||
# x: let
|
||||
# ws = let
|
||||
# c = (x + 1) / 10;
|
||||
# in
|
||||
# builtins.toString (x + 1 - (c * 10));
|
||||
# in [
|
||||
# "$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
# "$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
# ]
|
||||
# )
|
||||
# 10)
|
||||
# );
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
home.file = {
|
||||
".config/hypr/hyprlock.conf".source = ./dotfiles/hypr/hyprlock.conf;
|
||||
".config/waybar".source = ./dotfiles/waybar;
|
||||
# ".config/hypr/hyprlock.conf".source = ./dotfiles/hypr/hyprlock.conf;
|
||||
# ".config/waybar".source = ./dotfiles/waybar;
|
||||
".config/helix/languages.toml".source = ./dotfiles/helix/languages.toml;
|
||||
".config/rofi/config.rasi".source = ./dotfiles/rofi/config.rasi;
|
||||
# ".config/rofi/config.rasi".source = ./dotfiles/rofi/config.rasi;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user