feat: several updates/styling

This commit is contained in:
Xavier Morel
2025-08-05 18:33:54 +02:00
parent 5a1bab725d
commit bb1faf0484
13 changed files with 112 additions and 78 deletions

78
flake.lock generated
View File

@@ -37,11 +37,11 @@
"base16-helix": { "base16-helix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1748408240, "lastModified": 1752979451,
"narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=", "narHash": "sha256-0CQM+FkYy0fOO/sMGhOoNL80ftsAzYCg9VhIrodqusM=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "base16-helix", "repo": "base16-helix",
"rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e", "rev": "27cf1e66e50abc622fb76a3019012dc07c678fac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -80,12 +80,12 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1752331782, "lastModified": 1753068796,
"narHash": "sha256-eRDO93C2dXNVoLbnNECWwGcMErDKVAXNWWy6hFMPoE8=", "narHash": "sha256-jq04XAgT5Rci907wxd69trNwZixpnBLz5tH02h6JcoA=",
"rev": "33ffc091037908049e9897dc8258efae81709cfd", "rev": "9919bed0779086df2ce22a77f9406b7a347e340d",
"revCount": 259, "revCount": 261,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.8.2/0197ff1f-7dee-7ce8-803b-dee90b5d283c/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.8.4/01982b0e-46ed-709c-973b-7096ceb2a596/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -95,37 +95,37 @@
"determinate-nixd-aarch64-darwin": { "determinate-nixd-aarch64-darwin": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-T/kTCi8rrh1r5XMGQBymB4Hnk/KNNGkgtgma6bXXKy0=", "narHash": "sha256-tEhYb3OWFIPFvWa/orkyBMvS2joRRrqKHpK2cSd20hU=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.2/macOS" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.4/macOS"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.2/macOS" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.4/macOS"
} }
}, },
"determinate-nixd-aarch64-linux": { "determinate-nixd-aarch64-linux": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-C+KvOykOIoXCWSsPBM2Hzy1skk2lgiKXQyb9fJdwSdQ=", "narHash": "sha256-BGDnwwbo30fdSAv26G2MFYKx2+qIQ8G40+muwKH9SPM=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.2/aarch64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.4/aarch64-linux"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.2/aarch64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.4/aarch64-linux"
} }
}, },
"determinate-nixd-x86_64-linux": { "determinate-nixd-x86_64-linux": {
"flake": false, "flake": false,
"locked": { "locked": {
"narHash": "sha256-cENobOVn0+FtON9bmr/QoUEpNGEyxW4YpFXkLyBTYDs=", "narHash": "sha256-P4EJCgSsapE5tggKXiLUeS56PNciGLgonWAm7F1xf6E=",
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.2/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.4/x86_64-linux"
}, },
"original": { "original": {
"type": "file", "type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.2/x86_64-linux" "url": "https://install.determinate.systems/determinate-nixd/tag/v3.8.4/x86_64-linux"
} }
}, },
"disko": { "disko": {
@@ -135,11 +135,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752718651, "lastModified": 1753140376,
"narHash": "sha256-PkaR0qmyP9q/MDN3uYa+RLeBA0PjvEQiM0rTDDBXkL8=", "narHash": "sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb+mYCodI5uuB8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "d5ad4485e6f2edcc06751df65c5e16572877db88", "rev": "545aba02960caa78a31bd9a8709a0ad4b6320a5c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -306,11 +306,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1752603129, "lastModified": 1753387274,
"narHash": "sha256-S+wmHhwNQ5Ru689L2Gu8n1OD6s9eU9n9mD827JNR+kw=", "narHash": "sha256-Y1hAI9h+9DLBbgKvZBsHaeptFIcRw4iC6ySPmzyqmlM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e8c19a3cec2814c754f031ab3ae7316b64da085b", "rev": "a35f6b60430ff0c7803bd2a727df84c87569c167",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -328,12 +328,12 @@
"nixpkgs-regression": "nixpkgs-regression" "nixpkgs-regression": "nixpkgs-regression"
}, },
"locked": { "locked": {
"lastModified": 1752329813, "lastModified": 1753066555,
"narHash": "sha256-+PLMYzOLXmYtGUcUxIbJZpadAV/gO73EAhISc1kgvJM=", "narHash": "sha256-/WmweOcc4DfQPfGkNxllsuEVgTwX3RVROOy3e/mAvr0=",
"rev": "04045d5add7915ea9209a09833fae1aa3a3a9be1", "rev": "47281531ec83e22a1bb0249db5a6e4d0d854f0a5",
"revCount": 21488, "revCount": 21541,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.8.2/0197ff19-42da-7beb-b8cf-902b39687ccf/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.8.4/01982aff-6f3f-7bcc-85c8-b0d4e0cb35d8/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -388,12 +388,12 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1751852175, "lastModified": 1752077645,
"narHash": "sha256-+MLlfTCCOvz4K6AcSPbaPiFM9MYi7fA2Wr1ibmRwIlM=", "narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=",
"rev": "2defa37146df235ef62f566cde69930a86f14df1", "rev": "be9e214982e20b8310878ac2baa063a961c1bdf6",
"revCount": 826355, "revCount": 827262,
"type": "tarball", "type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.826355%2Brev-2defa37146df235ef62f566cde69930a86f14df1/0197e88b-d442-748b-8d6d-36a43b63b168/source.tar.gz" "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.827262%2Brev-be9e214982e20b8310878ac2baa063a961c1bdf6/01980c9a-3044-72c0-b718-a99e9076d3d6/source.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
@@ -402,11 +402,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1752480373, "lastModified": 1753250450,
"narHash": "sha256-JHQbm+OcGp32wAsXTE/FLYGNpb+4GLi5oTvCxwSoBOA=", "narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "62e0f05ede1da0d54515d4ea8ce9c733f12d9f08", "rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -472,11 +472,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1752750082, "lastModified": 1753372006,
"narHash": "sha256-NoVAqy+Wj4tgkvrYB8zWncl8Z6Hb80aX3t/TYGdsfaM=", "narHash": "sha256-eyIYqerHPYHl2Eq802wJSOwMwZ3tdvJ4D+vckDe2mD8=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "03699ed214f6e8195bc7199d6ae3aeccf9732b08", "rev": "ceda12a6da2181e424d8ed7e68ed291745f06f49",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -56,5 +56,7 @@
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;
services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ];
services.tailscale.enable = true;
system.stateVersion = "24.05"; system.stateVersion = "24.05";
} }

View File

@@ -8,6 +8,7 @@
bundle.myhypr.enable = true; bundle.myhypr.enable = true;
bundle.desktop-apps.enable = true; bundle.desktop-apps.enable = true;
bundle.shell.enable = true; bundle.shell.enable = true;
programs.creativity.drawing.enable = true;
}; };
home = { home = {

View File

@@ -9,11 +9,5 @@
config = lib.mkIf config.myHome.bundle.myhypr.enable { config = lib.mkIf config.myHome.bundle.myhypr.enable {
myHome.services.hyprland.enable = true; myHome.services.hyprland.enable = true;
myHome.services.waybar.enable = true; myHome.services.waybar.enable = true;
home.packages = map lib.lowPrio [
pkgs.mako
pkgs.swayidle
pkgs.swaylock
pkgs.swaybg
];
}; };
} }

View File

@@ -8,6 +8,7 @@
options.myHome.bundle.work-apps.enable = lib.mkEnableOption "enable work-apps bundle"; options.myHome.bundle.work-apps.enable = lib.mkEnableOption "enable work-apps bundle";
config = lib.mkIf config.myHome.bundle.work-apps.enable { config = lib.mkIf config.myHome.bundle.work-apps.enable {
home.packages = map lib.lowPrio [ home.packages = map lib.lowPrio [
pkgs.tailscale
pkgs.tailscale-systray pkgs.tailscale-systray
pkgs.slack pkgs.slack
pkgs.openvpn pkgs.openvpn

View File

@@ -4,23 +4,45 @@
lib, lib,
... ...
}: }:
{ let
options.myHome.programs.creativity.enable = lib.mkEnableOption "enable creativity software"; drawing-apps = with pkgs; [
config = lib.mkIf config.myHome.programs.creativity.enable { gimp
home.packages = with pkgs; [
blender
tiled tiled
aseprite aseprite
inkscape inkscape
sweethome3d.application
];
printing-apps = with pkgs; [
blender
prusa-slicer prusa-slicer
openscad openscad
];
gamedev-apps = with pkgs; [
godot_4 godot_4
gdtoolkit_4 gdtoolkit_4
];
sound-apps = with pkgs; [
audacity audacity
sfxr sfxr
]; ];
in
{
options.myHome.programs.creativity = lib.mkOption {
type = lib.types.submodule {
options = {
drawing.enable = lib.mkEnableOption "enable drawing software";
printing.enable = lib.mkEnableOption "enable 3d (printing) software";
gamedev.enable = lib.mkEnableOption "enable gamedev software";
sound.enable = lib.mkEnableOption "enable sound making software";
}; };
};
default = { };
};
config.home.packages = lib.concatLists [
(lib.optionals config.myHome.programs.creativity.drawing.enable drawing-apps)
(lib.optionals config.myHome.programs.creativity.printing.enable printing-apps)
(lib.optionals config.myHome.programs.creativity.gamedev.enable gamedev-apps)
(lib.optionals config.myHome.programs.creativity.sound.enable sound-apps)
];
} }

View File

@@ -19,16 +19,16 @@
dynamic_background_opacity = true; dynamic_background_opacity = true;
enable_audio_bell = false; enable_audio_bell = false;
mouse_hide_wait = "-1.0"; mouse_hide_wait = "-1.0";
background_opacity = "0.5"; background_opacity = "0.6";
background_blur = 5; background_blur = 5;
font_family = "Fira Code"; font_family = "Fira Code";
}; };
extraConfig = '' # extraConfig = ''
tab_bar_style fade # tab_bar_style fade
tab_fade 1 # tab_fade 1
active_tab_font_style bold # active_tab_font_style bold
inactive_tab_font_style bold # inactive_tab_font_style bold
''; # '';
}; };
}; };
} }

View File

@@ -9,7 +9,10 @@
config = lib.mkIf config.myHome.programs.photos.enable { config = lib.mkIf config.myHome.programs.photos.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
# gimp # gimp
rawtherapee gphoto2
# rawtherapee
darktable
exiftool
]; ];
}; };
} }

View File

@@ -25,11 +25,17 @@
slurp slurp
swappy swappy
grim grim
rofi
]; ];
programs = {
rofi.enable = true;
swaylock.enable = true;
};
services = { services = {
picom.enable = true; picom.enable = true;
hyprsunset.enable = true;
mako.enable = true;
swayidle.enable = true;
}; };
xdg.portal = { xdg.portal = {

View File

@@ -7,11 +7,16 @@
{ {
options.myNixOS.feature.stylix.enable = lib.mkEnableOption "enable Stylix"; options.myNixOS.feature.stylix.enable = lib.mkEnableOption "enable Stylix";
config = lib.mkIf config.myNixOS.feature.stylix.enable { config = lib.mkIf config.myNixOS.feature.stylix.enable {
environment.systemPackages = with pkgs; [
base16-schemes
];
stylix = { stylix = {
enable = true; enable = true;
autoEnable = true;
# base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-storm.yaml";
image = ../../../wall.jpg; image = ../../../wall.jpg;
polarity = "dark"; polarity = "dark";
opacity.terminal = 0.9; opacity.terminal = 0.8;
cursor.package = pkgs.bibata-cursors; cursor.package = pkgs.bibata-cursors;
cursor.name = "Bibata-Modern-Ice"; cursor.name = "Bibata-Modern-Ice";
cursor.size = 24; cursor.size = 24;
@@ -35,12 +40,12 @@
popups = 12; popups = 12;
}; };
}; };
targets = { # targets = {
chromium.enable = true; # chromium.enable = true;
grub.enable = true; # grub.enable = true;
grub.useImage = true; # grub.useImage = true;
plymouth.enable = true; # plymouth.enable = true;
}; # };
}; };
}; };
} }

BIN
wall.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 MiB

After

Width:  |  Height:  |  Size: 759 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 759 KiB

BIN
wallpapers/wall-scenery.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 KiB