add wallpapers to assets, fix nh cleaning job, reenable stylix

This commit is contained in:
greyweather committed 2026-09-19 01:18:19 +01:00
1 parent ee1161ecd1
commit 6d643646eb
13 files changed
+71 -46

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ in {
extraArgs = lib.mkOption {
type = lib.types.str;
description = "Any extra arguments that should be passed to the `nh clean` command when it is called by this service.";
default = "--keep 10 --keep-since 7d";
default = "--keep 10 --keep-since 7d --optimise";
};
};
};
+4 -2
View File
@@ -35,7 +35,7 @@
DisableTelemetry = true;
NoDefaultBookmarks = true;
EnableTrackingProtection = {
Value = true;
Value = false;
Locked = true;
Cryptomining = true;
Fingerprinting = true;
@@ -109,7 +109,9 @@
"browser.newtabpage.activity-stream.newtabWallpapers.user.enabled" = true;
"browser.newtabpage.activity-stream.widgets.enabled" = false;
"browser.newtabpage.activity-stream.discoverystream.enabled" = false;
"browser.newtabpage.activity-stream.newtabWallpapers.wallpaper" = "suspension-bridge";
"browser.newtabpage.activity-stream.newtabWallpapers.wallpaper" = "custom";
"browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.uploadedPreviously" = true;
"browser.newtabpage.activity-stream.newtabWallpapers.customWallpaper.uuid" = "c521696c-f5c9-4932-998f-8d0c245c4eb0";
"floorp.design.configs" = {
globalConfigs = {
userInterface = "proton";
@@ -19,6 +19,8 @@
terminal = "kitty";
};
services.gvfs.enable = true;
home-manager.users.${config.info.userName} = lib.mkIf (config.features.nixos.home-manager.enable) {
features.applications.gui.nautilus.enable = true;
};
@@ -30,7 +32,7 @@
home.packages = lib.mkIf (config.info.isStandalone) [ pkgs.nautilus ];
gtk.gtk3.bookmarks = [
"file://${config.info.rootPath} NixOS"
"file://${config.info.rootPath} Flake"
"file:///home/grey/Downloads Downloads"
"file:///home/grey/Documents Documents"
"file:///home/grey/Pictures Pictures"
+8 -2
View File
@@ -1,6 +1,12 @@
{ inputs, self, ... }: {
imports = [ (inputs.helpers.mkMirroredModulesFlakeModule "graphicsOptions" ({ lib, ... }: {
options.features.nixos.stylix.enable = lib.mkEnableOption "Stylix";
options.features.nixos.stylix = {
enable = lib.mkEnableOption "Stylix";
image = lib.mkOption {
type = lib.types.path;
default = /home/grey/Pictures/wallpaper.png;
};
};
})) ];
flake.nixosModules.graphics = { pkgs, lib, config, ... }: {
@@ -10,7 +16,7 @@
stylix = lib.mkIf (config.features.nixos.stylix.enable) {
enable = true;
image = builtins.path { path = "${self}/modules/hosts/${config.info.hostName}/wallpaper.jpg"; };
image = config.features.nixos.stylix.image;
polarity = "dark";
};
+11 -3
View File
@@ -23,7 +23,10 @@
features = {
nixos = {
home-manager.enable = true;
stylix.enable = false;
stylix = {
enable = true;
image = builtins.path { path = "${self}/assets/wallpapers/rei-aquarium.jpg"; };
};
};
shells.zsh.antidote.enable = true;
@@ -49,7 +52,10 @@
cli = {
fastfetch.enable = true;
nh.enable = true;
nh = {
enable = true;
clean.enable = true;
};
};
extraPackages = with pkgs; [
@@ -59,7 +65,9 @@
};
};
stylix.targets.nixos-icons.enable = false;
stylix.targets = {
nixos-icons.enable = false;
};
nix.buildMachines = [
{
+4 -1
View File
@@ -50,7 +50,10 @@
cli = {
fastfetch.enable = true;
color-converter.enable = true;
nh.enable = true;
nh = {
enable = true;
clean.enable = true;
};
};
gui = {