Compare commits

..

2 commits

Author SHA1 Message Date
8ce856773a
add niri blur 2026-02-21 09:58:07 -05:00
0d991812f2
make systemd services more robust 2026-02-21 09:48:03 -05:00
6 changed files with 131 additions and 130 deletions

View file

@ -1,10 +1,15 @@
{ {
config,
pkgs, pkgs,
... ...
}: }:
{ {
home.packages = with pkgs; [ openmw ]; home = {
home.sessionVariables.SDL_VIDEO_DRIVER = "wayland"; packages = with pkgs; [ openmw ];
sessionVariables = {
SDL_VIDEO_DRIVER = "wayland";
};
};
programs.firefox.profiles.default.search.engines.uesp = { programs.firefox.profiles.default.search.engines.uesp = {
name = "Unofficial Elder Scrolls Pages"; name = "Unofficial Elder Scrolls Pages";

View file

@ -31,8 +31,6 @@
home.sessionVariables = { home.sessionVariables = {
QT_QPA_PLATFORMTHEME = "qt6ct"; QT_QPA_PLATFORMTHEME = "qt6ct";
# this makes electron apps work per the wiki
NIXOS_OZONE_WL = "1";
}; };
gtk = { gtk = {

View file

@ -1,11 +1,12 @@
{ {
pkgs, pkgs,
config, config,
lib,
... ...
}: }:
{ {
home.sessionVariables.EDITOR = lib.mkForce "kitty nvim"; home.sessionVariables = {
EDITOR = "nvim";
};
home.packages = with pkgs; [ home.packages = with pkgs; [
kdePackages.qtdeclarative kdePackages.qtdeclarative

View file

@ -196,40 +196,8 @@
]; ];
opacity = 1.0; opacity = 1.0;
} }
{
# Kitty Fastfetch window
matches = [
{
app-id = "kitty";
title = "^fastfetch$";
}
];
open-floating = true;
baba-is-float = true;
min-width = 960;
min-height = 480;
max-width = 960;
max-height = 480;
}
]; ];
layer-rules = [ layer-rules = [
{
matches = [ { namespace = "noctalia-bar-content-.*"; } ];
background-effect = {
xray = false;
blur = true;
noise = 0.05;
saturation = 1;
};
}
{
matches = [ { namespace = "noctalia-bar-exclusion-top-.*"; } ];
place-within-backdrop = true;
}
{
matches = [ { namespace = "^launcher$"; } ];
opacity = 0.925;
}
{ {
matches = [ matches = [
{ {
@ -249,10 +217,6 @@
action.spawn = [ "kitty" ]; action.spawn = [ "kitty" ];
hotkey-overlay.title = "Open a Terminal: kitty"; hotkey-overlay.title = "Open a Terminal: kitty";
}; };
"Mod+Shift+T" = {
action.spawn-sh = [ "kitty --title fastfetch sh -c 'fastfetch; sleep 10'" ];
hotkey-overlay.title = "Open a Terminal with Fastfetch";
};
"Mod+Space" = { "Mod+Space" = {
action.spawn = [ "fuzzel" ]; action.spawn = [ "fuzzel" ];
hotkey-overlay.title = "Run an Application: Noctalia app launcher"; hotkey-overlay.title = "Run an Application: Noctalia app launcher";

View file

@ -6,6 +6,8 @@
systemd.user.services.awww-daemon = { systemd.user.services.awww-daemon = {
Unit.Description = "Wallpaper service using awww (daemon)"; Unit.Description = "Wallpaper service using awww (daemon)";
Service.ExecStart = "${pkgs.awww}/bin/awww-daemon"; Service.ExecStart = "${pkgs.awww}/bin/awww-daemon";
Unit.After = [ "graphical-session.target" ];
Unit.PartOf = [ "graphical-session.target" ];
Install.WantedBy = [ "graphical-session.target" ]; Install.WantedBy = [ "graphical-session.target" ];
}; };

View file

@ -2,16 +2,28 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ {
config,
pkgs, pkgs,
... ...
}: }:
{ {
environment.sessionVariables = {
# this makes electron apps work per the wiki
NIXOS_OZONE_WL = "1";
};
boot = { boot = {
plymouth.enable = true; plymouth = {
plymouth.logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png"; enable = true;
logo = "${pkgs.nixos-icons}/share/icons/hicolor/64x64/apps/nix-snowflake-white.png";
};
loader = { loader = {
timeout = 3; timeout = 3;
# systemd-boot = {
# enable = true;
# consoleMode = lib.mkForce "auto";
# configurationLimit = 10;
# };
limine = { limine = {
enable = true; enable = true;
maxGenerations = 10; maxGenerations = 10;
@ -28,6 +40,7 @@
}; };
}; };
}; };
# efi.canTouchEfiVariables = true;
}; };
kernelParams = [ kernelParams = [
"quiet" "quiet"
@ -42,16 +55,37 @@
initrd.verbose = false; initrd.verbose = false;
}; };
programs = { networking.networkmanager.enable = true;
gnupg.agent = { hardware.bluetooth.enable = true;
enable = true;
enableSSHSupport = true; time.timeZone = "America/New_York";
pinentryPackage = pkgs.pinentry-curses; i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
}; };
niri.enable = true;
niri.package = pkgs.niri-unstable; # Enable OpenGL
dconf.enable = true; hardware.graphics = {
dconf.profiles.user = { enable = true;
};
programs.niri = {
enable = true;
package = pkgs.niri-unstable;
};
services.gnome.gnome-keyring.enable = true;
security.pam.services.niri.enableGnomeKeyring = true;
programs.dconf.enable = true;
programs.dconf.profiles.user = {
databases = [ databases = [
{ {
# breaks user-level indirect config of dconf # breaks user-level indirect config of dconf
@ -84,8 +118,6 @@
]; ];
}; };
};
# aerothemeplasma = { # aerothemeplasma = {
# enable = true; # enable = true;
# plasma.enable = true; # plasma.enable = true;
@ -95,13 +127,16 @@
# }; # };
services = { services = {
# displayManager = {
# gdm.enable = true;
# defaultSession = "niri";
# };
desktopManager.plasma6.enable = true; desktopManager.plasma6.enable = true;
displayManager = { displayManager = {
sddm.enable = true; sddm.enable = true;
sddm.wayland.enable = true; # defaultSession = "aerothemeplasma";
defaultSession = "niri";
}; };
gnome.gnome-keyring.enable = true;
libinput.enable = true; libinput.enable = true;
printing.enable = true; printing.enable = true;
pipewire = { pipewire = {
@ -112,37 +147,33 @@
}; };
udisks2.enable = true; udisks2.enable = true;
gvfs.enable = true; gvfs.enable = true;
upower.enable = true; upower.enable = true;
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
openssh.enable = true;
}; };
environment.systemPackages = with pkgs; [ environment = {
systemPackages = with pkgs; [
git git
firefoxpwa firefoxpwa
distrobox
]; ];
security.pam.services.niri.enableGnomeKeyring = config.services.gnome.gnome-keyring.enable;
networking.firewall.enable = false;
networking.networkmanager.enable = true;
documentation.man.enable = true;
documentation.man.generateCaches = false;
hardware.graphics.enable = true;
hardware.bluetooth.enable = true;
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
}; };
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-curses;
};
networking.firewall.enable = false;
documentation.man = {
enable = true;
generateCaches = false;
};
services.openssh.enable = true;
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave # on your system were taken. Its perfectly fine and recommended to leave