26 yarara update

This commit is contained in:
Zoty 2026-07-06 07:02:34 -03:00
parent 1c0da4eba9
commit c371aeb483
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
8 changed files with 56 additions and 30 deletions

32
flake.lock generated
View file

@ -112,16 +112,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1779506708, "lastModified": 1782704057,
"narHash": "sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0=", "narHash": "sha256-G1I1gd32F7mp9LAe1DaZ4ZL7NX5gyiKwdCMwro1Vrck=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f", "rev": "868d0a692de703c2de98fab61968e4e310b7c28e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.11", "ref": "release-26.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -197,6 +197,21 @@
"type": "github" "type": "github"
} }
}, },
"nix-flatpak": {
"locked": {
"lastModified": 1780908363,
"narHash": "sha256-llGS4y3Qh1eUkli3/Y2VY9FV3GOUKFZR1E2BDftt45Q=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "1df08625f0f8c7d6e300a0e5df7955bbb877d809",
"type": "github"
},
"original": {
"owner": "gmodena",
"repo": "nix-flatpak",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1782118813, "lastModified": 1782118813,
@ -278,16 +293,16 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1781509190, "lastModified": 1782535326,
"narHash": "sha256-uJZs9Di8I6ciTp6jiojj0HzlNpBkud8ax5aT/O5aJkw=", "narHash": "sha256-ZeRxu4yn6shd3SNF5ZUQb4r7BaVo1zBKMjRhfoNSBmw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d6df3513510aa548c83868fd22bfddd0a8c0a0d4", "rev": "714a5f8c4ead6b31148d829288440ed033ccc041",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.11", "ref": "nixos-26.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -362,6 +377,7 @@
"home-manager": "home-manager", "home-manager": "home-manager",
"import-tree": "import-tree", "import-tree": "import-tree",
"niri-flake": "niri-flake", "niri-flake": "niri-flake",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"qml-niri": "qml-niri", "qml-niri": "qml-niri",

View file

@ -1,13 +1,13 @@
{ {
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
import-tree.url = "github:vic/import-tree"; import-tree.url = "github:vic/import-tree";
flake-aspects.url = "github:vic/flake-aspects"; flake-aspects.url = "github:vic/flake-aspects";
den.url = "github:vic/den"; den.url = "github:vic/den";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.11"; url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -24,6 +24,7 @@
}; };
claude-code.url = "github:sadjow/claude-code-nix"; claude-code.url = "github:sadjow/claude-code-nix";
nix-flatpak.url = "github:gmodena/nix-flatpak";
qml-niri = { qml-niri = {
url = "github:imiric/qml-niri/main"; url = "github:imiric/qml-niri/main";

View file

@ -211,6 +211,7 @@ in {
# the dependency on the Ventoy device remaining accessible during boot. # the dependency on the Ventoy device remaining accessible during boot.
# See: https://github.com/NixOS/nixpkgs/issues/245101 # See: https://github.com/NixOS/nixpkgs/issues/245101
boot.kernelParams = [ "copytoram" ]; boot.kernelParams = [ "copytoram" ];
boot.zfs.forceImportRoot = false;
services.getty.autologinUser = lib.mkForce "root"; services.getty.autologinUser = lib.mkForce "root";

View file

@ -14,12 +14,9 @@ in {
command = "${pkgs.niri}/bin/niri msg action power-off-monitors"; command = "${pkgs.niri}/bin/niri msg action power-off-monitors";
} }
]; ];
events = [ events = {
{ before-sleep = "${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}";
event = "before-sleep"; };
command = "${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}";
}
];
}; };
home.sessionVariables = { home.sessionVariables = {
@ -37,7 +34,7 @@ in {
# Niri session tools # Niri session tools
fuzzel fuzzel
swaylock swaylock
swww awww
rofimoji rofimoji
libnotify libnotify
@ -87,12 +84,12 @@ in {
''; '';
}; };
home.file.".local/bin/swww-init" = { home.file.".local/bin/awww-init" = {
executable = true; executable = true;
text = '' text = ''
#!/usr/bin/env bash #!/usr/bin/env bash
swww-daemon & awww-daemon &
swww img "${wallpaper}" --transition-type none awww img "${wallpaper}" --transition-type none
''; '';
}; };
@ -130,7 +127,7 @@ in {
prefer-no-csd prefer-no-csd
spawn-at-startup "quickshell" spawn-at-startup "quickshell"
spawn-at-startup "bash" "-c" "$HOME/.local/bin/swww-init" spawn-at-startup "bash" "-c" "$HOME/.local/bin/awww-init"
screenshot-path "${config.xdg.userDirs.pictures}/screenshots/%Y-%m-%d %H-%M-%S.png" screenshot-path "${config.xdg.userDirs.pictures}/screenshots/%Y-%m-%d %H-%M-%S.png"

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { { config, pkgs, ... }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
gruvbox-gtk-theme gruvbox-gtk-theme
gruvbox-plus-icons gruvbox-plus-icons
@ -14,6 +14,7 @@
name = "Gruvbox-Plus-Dark"; name = "Gruvbox-Plus-Dark";
package = pkgs.gruvbox-plus-icons; package = pkgs.gruvbox-plus-icons;
}; };
gtk4.theme = config.gtk.theme;
}; };
qt = { qt = {

View file

@ -1,7 +1,8 @@
{ config, ... }: { { config, ... }: {
xdg.userDirs = { xdg.userDirs = {
enable = true; enable = true;
createDirectories = true; createDirectories = true;
setSessionVariables = true;
desktop = "${config.home.homeDirectory}/Desktop"; desktop = "${config.home.homeDirectory}/Desktop";
download = "${config.home.homeDirectory}/Downloads"; download = "${config.home.homeDirectory}/Downloads";

View file

@ -1,4 +1,4 @@
{ den, pkgs-unstable, ... }: { { den, ... }: {
den.aspects.gaming.nixos = { pkgs, ... }: { den.aspects.gaming.nixos = { pkgs, ... }: {
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
@ -7,7 +7,6 @@
programs.steam = { programs.steam = {
enable = true; enable = true;
package = pkgs-unstable.steam;
remotePlay.openFirewall = false; remotePlay.openFirewall = false;
dedicatedServer.openFirewall = false; dedicatedServer.openFirewall = false;

View file

@ -1,9 +1,19 @@
{ den, pkgs-unstable, ... }: { { den, inputs, pkgs-unstable, ... }: {
den.aspects.leisure.nixos = { ... }: { den.aspects.leisure.nixos = { ... }: {
environment.systemPackages = with pkgs-unstable; [ imports = [ inputs.nix-flatpak.nixosModules.nix-flatpak ];
# Streaming
stremio-linux-shell
services.flatpak = {
enable = true;
remotes = [{
name = "flathub";
location = "https://flathub.org/repo/flathub.flatpakrepo";
}];
packages = [
{ appId = "com.stremio.Stremio"; origin = "flathub"; }
];
};
environment.systemPackages = with pkgs-unstable; [
# Torrenting # Torrenting
qbittorrent qbittorrent