Compare commits
No commits in common. "02225c295a37b918e77feb122355c17ea5bacf5c" and "7ba6eafa7d98e0bffefeb2174f9833e487695227" have entirely different histories.
02225c295a
...
7ba6eafa7d
|
@ -20,5 +20,6 @@
|
||||||
++ [(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,5 +13,4 @@
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
4
modules/core/variables.nix
Normal file
4
modules/core/variables.nix
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
{...}: {
|
||||||
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
environment.sessionVariables.XKB_DEFAULT_LAYOUT = "es";
|
||||||
|
}
|
|
@ -22,13 +22,7 @@
|
||||||
programs.regreet = {
|
programs.regreet = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
background = {
|
background.path = pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom.gnomeFilePath;
|
||||||
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,7 +15,6 @@
|
||||||
++ [(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
|
||||||
|
@ -25,7 +24,6 @@
|
||||||
++ [(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,6 +3,9 @@
|
||||||
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'"
|
||||||
|
@ -82,7 +85,7 @@
|
||||||
ignore_opacity = true;
|
ignore_opacity = true;
|
||||||
noise = 0;
|
noise = 0;
|
||||||
new_optimizations = true;
|
new_optimizations = true;
|
||||||
xray = false;
|
xray = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
drop_shadow = true;
|
drop_shadow = true;
|
||||||
|
|
|
@ -1,8 +1,4 @@
|
||||||
{
|
{...}: {
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
||||||
|
@ -17,18 +13,16 @@
|
||||||
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 = "wayland";
|
QT_QPA_PLATFORM = "xcb";
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
services.kdeconnect = {
|
|
||||||
enable = true;
|
|
||||||
indicator = true;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,17 +0,0 @@
|
||||||
{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