Compare commits
5 commits
7ba6eafa7d
...
02225c295a
Author | SHA1 | Date | |
---|---|---|---|
|
02225c295a | ||
|
c4d22b94a6 | ||
|
82ea4a75ae | ||
|
3b2d7e021d | ||
|
392a96f32f |
|
@ -20,6 +20,5 @@
|
||||||
++ [(import ./system.nix)]
|
++ [(import ./system.nix)]
|
||||||
++ [(import ./user.nix)]
|
++ [(import ./user.nix)]
|
||||||
++ [(import ./wayland.nix)]
|
++ [(import ./wayland.nix)]
|
||||||
++ [(import ./variables.nix)]
|
|
||||||
++ [(import ./virtualisation.nix)];
|
++ [(import ./virtualisation.nix)];
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,4 +13,5 @@
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
programs.nix-ld.libraries = with pkgs; [];
|
programs.nix-ld.libraries = with pkgs; [];
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
|
programs.kdeconnect.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
{...}: {
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es";
|
|
||||||
}
|
|
|
@ -22,7 +22,13 @@
|
||||||
programs.regreet = {
|
programs.regreet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
background.path = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;
|
background = {
|
||||||
|
path = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;
|
||||||
|
fit = "Cover";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
cageArgs = ["-s" "-m" "last"]; # Only show on the last monitor
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es";
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
++ [(import ./git.nix)] # version control
|
++ [(import ./git.nix)] # version control
|
||||||
++ [(import ./gtk.nix)] # gtk theme
|
++ [(import ./gtk.nix)] # gtk theme
|
||||||
++ [(import ./hyprland)] # window manager
|
++ [(import ./hyprland)] # window manager
|
||||||
|
++ [(import ./kdeconnect.nix)]
|
||||||
++ [(import ./kitty.nix)] # terminal
|
++ [(import ./kitty.nix)] # terminal
|
||||||
++ [(import ./swaync/swaync.nix)] # notification deamon
|
++ [(import ./swaync/swaync.nix)] # notification deamon
|
||||||
++ [(import ./nextcloud.nix)] # nextcloud client
|
++ [(import ./nextcloud.nix)] # nextcloud client
|
||||||
|
@ -24,6 +25,7 @@
|
||||||
++ [(import ./scripts/scripts.nix)] # personal scripts
|
++ [(import ./scripts/scripts.nix)] # personal scripts
|
||||||
++ [(import ./spotify.nix)]
|
++ [(import ./spotify.nix)]
|
||||||
++ [(import ./starship.nix)] # shell prompt
|
++ [(import ./starship.nix)] # shell prompt
|
||||||
|
++ [(import ./qt.nix)]
|
||||||
++ [(import ./vscodium.nix)] # vscode forck
|
++ [(import ./vscodium.nix)] # vscode forck
|
||||||
++ [(import ./waybar)] # status bar
|
++ [(import ./waybar)] # status bar
|
||||||
++ [(import ./zsh.nix)]; # shell
|
++ [(import ./zsh.nix)]; # shell
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
settings = {
|
settings = {
|
||||||
# autostart
|
# autostart
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"systemctl --user import-environment &"
|
|
||||||
"hash dbus-update-activation-environment 2>/dev/null &"
|
|
||||||
"dbus-update-activation-environment --systemd --all &"
|
|
||||||
"nm-applet &"
|
"nm-applet &"
|
||||||
"wl-clip-persist --clipboard both &"
|
"wl-clip-persist --clipboard both &"
|
||||||
"bash -c 'if [ ! -f ~/.config/hypr/wallpaper.png ]; then wall-change ~/.config/hypr/default_wallpaper.png; fi'"
|
"bash -c 'if [ ! -f ~/.config/hypr/wallpaper.png ]; then wall-change ~/.config/hypr/default_wallpaper.png; fi'"
|
||||||
|
@ -85,7 +82,7 @@
|
||||||
ignore_opacity = true;
|
ignore_opacity = true;
|
||||||
noise = 0;
|
noise = 0;
|
||||||
new_optimizations = true;
|
new_optimizations = true;
|
||||||
xray = true;
|
xray = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
drop_shadow = true;
|
drop_shadow = true;
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{...}: {
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||||
|
@ -13,16 +17,18 @@
|
||||||
WLR_DRM_NO_ATOMIC = "1";
|
WLR_DRM_NO_ATOMIC = "1";
|
||||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
|
||||||
QT_QPA_PLATFORM = "xcb";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
QT_STYLE_OVERRIDE = "kvantum";
|
QT_STYLE_OVERRIDE = "kvantum";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
WLR_BACKEND = "vulkan";
|
WLR_BACKEND = "vulkan";
|
||||||
WLR_RENDERER = "vulkan";
|
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
XDG_SESSION_TYPE = "wayland";
|
XDG_SESSION_TYPE = "wayland";
|
||||||
SDL_VIDEODRIVER = "wayland";
|
SDL_VIDEODRIVER = "wayland";
|
||||||
CLUTTER_BACKEND = "wayland";
|
CLUTTER_BACKEND = "wayland";
|
||||||
GTK_THEME = "Dracula";
|
GTK_THEME = "Dracula";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.systemd.variables = ["--all"];
|
||||||
|
wayland.windowManager.hyprland.settings.env = lib.attrsets.mapAttrsToList (name: value: "${name},${builtins.toString value}") config.home.sessionVariables;
|
||||||
}
|
}
|
||||||
|
|
6
modules/home/kdeconnect.nix
Normal file
6
modules/home/kdeconnect.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
services.kdeconnect = {
|
||||||
|
enable = true;
|
||||||
|
indicator = true;
|
||||||
|
};
|
||||||
|
}
|
17
modules/home/qt.nix
Normal file
17
modules/home/qt.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
qt.enable = true;
|
||||||
|
qt.platformTheme.name = "qtct";
|
||||||
|
qt.style.name = "kvantum";
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
libsForQt5.qtstyleplugin-kvantum
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.configFile."Kvantum/kvantum.kvconfig".source = (pkgs.formats.ini {}).generate "kvantum.kvconfig" {
|
||||||
|
General.theme = "Catppuccin-Mocha-Lavender";
|
||||||
|
};
|
||||||
|
xdg.configFile."Kvantum/Catppuccin-Mocha-Lavender".source = "${(pkgs.catppuccin-kvantum.override {
|
||||||
|
accent = "Lavender";
|
||||||
|
variant = "Mocha";
|
||||||
|
})}/share/Kvantum/Catppuccin-Mocha-Lavender";
|
||||||
|
}
|
Loading…
Reference in a new issue