From 4348bef5ac1b49d4b78b70bf2e0439972af84953 Mon Sep 17 00:00:00 2001 From: Lucy von Overheidt Date: Tue, 9 Sep 2025 19:50:59 +0200 Subject: [PATCH] meow --- flake.nix | 15 +++++++++++++++ modules/alacritty.nix | 2 +- modules/home.nix | 2 +- modules/hyfetch.nix | 20 ++++++++++++++++++++ 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 modules/hyfetch.nix diff --git a/flake.nix b/flake.nix index 4d53cfe..486c9ef 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,10 @@ url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; }; + firefox-addons = { + url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = @@ -83,6 +87,16 @@ }; in { + packages.${system}.wallpaper = pkgs.stdenv.mkDerivation { + name = "wallpaper"; + src = ./assets/wp6553608.jpg; + dontUnpack = true; + + installPhase = '' + mkdir -p $out + cp $src $out/wallpaper.jpg + ''; + }; nixosConfigurations.p50 = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; }; system = "x86_64-linux"; @@ -95,6 +109,7 @@ { home-manager.useGlobalPkgs = true; home-manager.useUserPackages = true; + home-manager.backupFileExtension = "backup"; home-manager.users.lucy = { config, diff --git a/modules/alacritty.nix b/modules/alacritty.nix index 8e64dae..5004083 100644 --- a/modules/alacritty.nix +++ b/modules/alacritty.nix @@ -31,7 +31,7 @@ */ font = { normal = { - family = lib.mkDefault "Iosevka"; + family = lib.mkForce "Iosevka"; style = "Regular"; }; bold = { diff --git a/modules/home.nix b/modules/home.nix index ff11080..abe342d 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -14,6 +14,7 @@ ./gammastep.nix ./hypridle.nix ./fuzzel.nix + ./hyfetch.nix ]; # TODO please change the username & home directory to your own @@ -53,7 +54,6 @@ aerc - hyfetch nnn # terminal file manager prismlauncher diff --git a/modules/hyfetch.nix b/modules/hyfetch.nix new file mode 100644 index 0000000..28dc4e9 --- /dev/null +++ b/modules/hyfetch.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: +{ + programs.hyfetch = { + enable = true; + settings = { + preset = "transgender"; + mode = "rgb"; + auto_detect_light_dark = true; + light_dark = "dark"; + lightness = 0.65; + color_align = { + mode = "horizontal"; + }; + backend = "neofetch"; + args = null; + distro = null; + pride_month_disable = false; + }; + }; +}