Update nix

This commit is contained in:
muon 2025-12-25 15:13:58 +00:00
parent ae89fe77ca
commit 600496e419
4 changed files with 253 additions and 252 deletions

36
flake.lock generated
View file

@ -233,11 +233,11 @@
]
},
"locked": {
"lastModified": 1765980955,
"narHash": "sha256-rB45jv4uwC90vM9UZ70plfvY/2Kdygs+zlQ07dGQFk4=",
"lastModified": 1766553851,
"narHash": "sha256-hHKQhHkXxuPJwLkI8wdu826GLV5AcuW9/HVdc9eBnTU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "89c9508bbe9b40d36b3dc206c2483ef176f15173",
"rev": "7eca7f7081036a7b740090994c9ec543927f89a7",
"type": "github"
},
"original": {
@ -410,11 +410,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1765779637,
"narHash": "sha256-KJ2wa/BLSrTqDjbfyNx70ov/HdgNBCBBSQP3BIzKnv4=",
"lastModified": 1766309749,
"narHash": "sha256-3xY8CZ4rSnQ0NqGhMKAy5vgC+2IVK0NoVEzDoOh4DA4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1306659b587dc277866c7b69eb97e5f07864d8c4",
"rev": "a6531044f6d0bef691ea18d4d4ce44d0daa6e816",
"type": "github"
},
"original": {
@ -493,11 +493,11 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1765894398,
"narHash": "sha256-vZmKngMAaZ38mUjWeXavagrCE5f4h4s9yIShf2q75I4=",
"lastModified": 1766596669,
"narHash": "sha256-9C72hpMDa99n4MbqZqsBkrBQZe+HEN9lnu7Sme67nmU=",
"owner": "NotAShelf",
"repo": "nvf",
"rev": "cd81bbb904571b538397d72a29e4c84b98480ee1",
"rev": "ef1f22efaf4aa37ba9382a7d1807fa8ac9c097fd",
"type": "github"
},
"original": {
@ -527,11 +527,11 @@
]
},
"locked": {
"lastModified": 1765836173,
"narHash": "sha256-hWRYfdH2ONI7HXbqZqW8Q1y9IRbnXWvtvt/ONZovSNY=",
"lastModified": 1766289575,
"narHash": "sha256-BOKCwOQQIP4p9z8DasT5r+qjri3x7sPCOq+FTjY8Z+o=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "443a7f2e7e118c4fc63b7fae05ab3080dd0e5c63",
"rev": "9836912e37aef546029e48c8749834735a6b9dad",
"type": "github"
},
"original": {
@ -580,11 +580,11 @@
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1765897595,
"narHash": "sha256-NgTRxiEC5y96zrhdBygnY+mSzk5FWMML39PcRGVJmxg=",
"lastModified": 1766603026,
"narHash": "sha256-J2DDdRqSU4w9NNgkMfmMeaLIof5PXtS9RG7y6ckDvQE=",
"owner": "danth",
"repo": "stylix",
"rev": "e6829552d4bb659ebab00f08c61d8c62754763f3",
"rev": "551df12ee3ebac52c5712058bd97fd9faa4c3430",
"type": "github"
},
"original": {
@ -748,11 +748,11 @@
]
},
"locked": {
"lastModified": 1766032508,
"narHash": "sha256-7MHR94mOoa5/s4NBrpsXWaNNzrZyRC0OwRwEobp1wzI=",
"lastModified": 1766614843,
"narHash": "sha256-upUQfQv7Xiy5IZzfsVOL0lH4A/wuUQjG2jlzmBmVuwU=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "a7f58a9e3481804915d75a9c86527bca6d9dafb3",
"rev": "b01d17acbec3d1b76fecf500289d8509da202585",
"type": "github"
},
"original": {

View file

@ -52,7 +52,7 @@
# laptop
muop = utils.mkHost ./hosts/muop/configuration.nix;
# vps
# server
muho = utils.mkHost ./hosts/muho/configuration.nix;
# vps

View file

@ -2,16 +2,11 @@
pkgs,
lib,
config,
osConfig,
system,
inputs,
...
}: let
color = config.lib.stylix.colors.withHashtag;
in
}:
with lib; {
options.mods.zen.enable =
lib.mkEnableOption "enables zen browser";
options.mods.zen.enable = mkEnableOption "enables zen browser";
imports = [
inputs.zen-browser.homeModules.beta
@ -19,8 +14,7 @@ in
# or inputs.zen-browser.homeModules.twilight-official
];
config = lib.mkIf config.mods.zen.enable {
stylix.targets.zen-browser.profileNames = [];
config = mkIf config.mods.zen.enable {
programs.zen-browser = {
enable = true;
@ -252,5 +246,6 @@ in
};
};
};
stylix.targets.zen-browser.profileNames = ["default"];
};
}

View file

@ -1,5 +1,8 @@
{ pkgs, lib, config, ... }:
let
{
lib,
config,
...
}: let
cfg = config.mods.desktop;
in {
imports = [
@ -17,10 +20,13 @@ in {
mods.xorg.enable = true;
mods.sound.enable = true;
mods.desktop.wayland.enable = lib.mkDefault false;
programs.hyprland = if cfg.wayland.enable then {
programs.hyprland =
if cfg.wayland.enable
then {
enable = true;
xwayland.enable = true;
} else {
}
else {
enable = false;
};
};