From e7b6ab283e845add98fd087f71e7dc098fed72a2 Mon Sep 17 00:00:00 2001 From: yaroslav Date: Tue, 12 Aug 2025 15:41:05 +0300 Subject: [PATCH 1/4] switched aphelion to lix --- flake.lock | 86 +++++++++++++++++++++++++++- flake.nix | 7 ++- hosts/Aphelion/hardware-Aphelion.nix | 4 ++ 3 files changed, 95 insertions(+), 2 deletions(-) diff --git a/flake.lock b/flake.lock index d03b3e8..f574230 100644 --- a/flake.lock +++ b/flake.lock @@ -32,11 +32,44 @@ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, "original": { "id": "flake-utils", "type": "indirect" } }, + "flakey-profile": { + "locked": { + "lastModified": 1712898590, + "narHash": "sha256-FhGIEU93VHAChKEXx905TSiPZKga69bWl1VB37FK//I=", + "owner": "lf-", + "repo": "flakey-profile", + "rev": "243c903fd8eadc0f63d205665a92d4df91d42d9d", + "type": "github" + }, + "original": { + "owner": "lf-", + "repo": "flakey-profile", + "type": "github" + } + }, "hm-stable": { "inputs": { "nixpkgs": [ @@ -94,6 +127,41 @@ "type": "github" } }, + "lix": { + "flake": false, + "locked": { + "lastModified": 1753223229, + "narHash": "sha256-tkT4aCZZE6IEmjYotOzKKa2rV3pGpH3ZREeQn7ACgdU=", + "rev": "7ac20fc47cf2f1b7469c7a2f379e5a3a51a6789a", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/7ac20fc47cf2f1b7469c7a2f379e5a3a51a6789a.tar.gz?rev=7ac20fc47cf2f1b7469c7a2f379e5a3a51a6789a" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/lix/archive/release-2.93.tar.gz" + } + }, + "lix-module": { + "inputs": { + "flake-utils": "flake-utils", + "flakey-profile": "flakey-profile", + "lix": "lix", + "nixpkgs": [ + "nixpkgs-unstable" + ] + }, + "locked": { + "lastModified": 1753282722, + "narHash": "sha256-KYMUrTV7H/RR5/HRnjV5R3rRIuBXMemyJzTLi50NFTs=", + "rev": "46a9e8fcfe4be72b4c7c8082ee11d2c42da1e873", + "type": "tarball", + "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/46a9e8fcfe4be72b4c7c8082ee11d2c42da1e873.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3-1.tar.gz" + } + }, "nixpkgs": { "locked": { "lastModified": 1741379970, @@ -164,6 +232,7 @@ "hm-stable": "hm-stable", "home-manager": "home-manager", "impermanence": "impermanence", + "lix-module": "lix-module", "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-unstable": "nixpkgs-unstable", "yandex-music": "yandex-music", @@ -185,9 +254,24 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "yandex-music": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs", "ymExe": "ymExe" }, diff --git a/flake.nix b/flake.nix index d5f05ef..535fd48 100644 --- a/flake.nix +++ b/flake.nix @@ -22,10 +22,14 @@ url = "github:asus-linux-drivers/asus-numberpad-driver"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; + lix-module = { + url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3-1.tar.gz"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + }; zapret.url = "github:n0vvvonder/zapret-flake.nix"; }; - outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, hm-stable, asus-numberpad-driver, ...}@inputs: { + outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, hm-stable, lix-module, asus-numberpad-driver, ...}@inputs: { nixosConfigurations = { Ratchet = nixpkgs-unstable.lib.nixosSystem { system = "x86_64-linux"; @@ -61,6 +65,7 @@ system = "x86_64-linux"; specialArgs = { inherit inputs; }; modules = [ + lix-module.nixosModules.default impermanence.nixosModules.impermanence ./hosts/generic/persistence.nix ./hosts/generic/configuration_generic.nix diff --git a/hosts/Aphelion/hardware-Aphelion.nix b/hosts/Aphelion/hardware-Aphelion.nix index f4e9486..dc84991 100644 --- a/hosts/Aphelion/hardware-Aphelion.nix +++ b/hosts/Aphelion/hardware-Aphelion.nix @@ -63,6 +63,10 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; + #networking.firewall.allowedTCPPorts = [ 42420 ]; + networking.firewall.trustedInterfaces = [ "enp12s0" "wlp11s0" ]; + #networking.firewall.enable = false; + # networking.interfaces.enp12s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlp11s0.useDHCP = lib.mkDefault true; hardware.bluetooth.enable = true; # enables support for Bluetooth From f697119ffed47f8cc76b26ab4b60c6c5a8cc718d Mon Sep 17 00:00:00 2001 From: yaroslav Date: Sat, 30 Aug 2025 22:29:48 +0300 Subject: [PATCH 2/4] various improvements --- flake.lock | 183 +++++++++++++++++++++--- flake.nix | 6 +- home/yaroslav/Aphelion/Aphelion.nix | 10 +- home/yaroslav/home.nix | 1 + home/yaroslav/nvim.nix | 4 +- hosts/Aphelion/Aphelion_misc.nix | 18 ++- hosts/Aphelion/hardware-Aphelion.nix | 10 +- hosts/generic/configuration_generic.nix | 5 + 8 files changed, 208 insertions(+), 29 deletions(-) diff --git a/flake.lock b/flake.lock index f574230..43463bc 100644 --- a/flake.lock +++ b/flake.lock @@ -20,6 +20,43 @@ "type": "github" } }, + "chaotic": { + "inputs": { + "flake-schemas": "flake-schemas", + "home-manager": "home-manager", + "jovian": "jovian", + "nixpkgs": "nixpkgs", + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1754907869, + "narHash": "sha256-tzshAAjt0xDjCc/aOgii6PSqePIc2rWYSXF8VnqEhIg=", + "owner": "chaotic-cx", + "repo": "nyx", + "rev": "b5f83e0d7bce67af178f6aaef95853fedf4c00a0", + "type": "github" + }, + "original": { + "owner": "chaotic-cx", + "ref": "nyxpkgs-unstable", + "repo": "nyx", + "type": "github" + } + }, + "flake-schemas": { + "locked": { + "lastModified": 1721999734, + "narHash": "sha256-G5CxYeJVm4lcEtaO87LKzOsVnWeTcHGKbKxNamNWgOw=", + "rev": "0a5c42297d870156d9c57d8f99e476b738dcd982", + "revCount": 75, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.5/0190ef2f-61e0-794b-ba14-e82f225e55e6/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.1.5.tar.gz" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -92,6 +129,27 @@ } }, "home-manager": { + "inputs": { + "nixpkgs": [ + "chaotic", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1754886238, + "narHash": "sha256-LTQomWOwG70lZR+78ZYSZ9sYELWNq3HJ7/tdHzfif/s=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "0d492b89d1993579e63b9dbdaed17fd7824834da", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { "inputs": { "nixpkgs": [ "nixpkgs-unstable" @@ -127,18 +185,40 @@ "type": "github" } }, + "jovian": { + "inputs": { + "nix-github-actions": "nix-github-actions", + "nixpkgs": [ + "chaotic", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1754639028, + "narHash": "sha256-w1+XzPBAZPbeGLMAgAlOjIquswo6Q42PMep9KSrRzOA=", + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "rev": "d49809278138d17be77ab0ef5506b26dc477fa62", + "type": "github" + }, + "original": { + "owner": "Jovian-Experiments", + "repo": "Jovian-NixOS", + "type": "github" + } + }, "lix": { "flake": false, "locked": { - "lastModified": 1753223229, - "narHash": "sha256-tkT4aCZZE6IEmjYotOzKKa2rV3pGpH3ZREeQn7ACgdU=", - "rev": "7ac20fc47cf2f1b7469c7a2f379e5a3a51a6789a", + "lastModified": 1754639322, + "narHash": "sha256-yQbFoOT/jes5WTUUIjXmWugIacvvXRZwUnZ4ctrdr0o=", + "rev": "52ef1181f0a4e2156227a5086ca9a99c43214515", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/7ac20fc47cf2f1b7469c7a2f379e5a3a51a6789a.tar.gz?rev=7ac20fc47cf2f1b7469c7a2f379e5a3a51a6789a" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/52ef1181f0a4e2156227a5086ca9a99c43214515.tar.gz" }, "original": { "type": "tarball", - "url": "https://git.lix.systems/lix-project/lix/archive/release-2.93.tar.gz" + "url": "https://git.lix.systems/lix-project/lix/archive/main.tar.gz" } }, "lix-module": { @@ -151,28 +231,53 @@ ] }, "locked": { - "lastModified": 1753282722, - "narHash": "sha256-KYMUrTV7H/RR5/HRnjV5R3rRIuBXMemyJzTLi50NFTs=", - "rev": "46a9e8fcfe4be72b4c7c8082ee11d2c42da1e873", - "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/46a9e8fcfe4be72b4c7c8082ee11d2c42da1e873.tar.gz" + "lastModified": 1751909859, + "narHash": "sha256-gbpuESxl/An4GTh7QEbQRYJozVIxWkwVGbWK0/0GoRc=", + "ref": "refs/heads/main", + "rev": "4d4c2b8f0a801c91ce5b717c77fe3a17efa1402f", + "revCount": 150, + "type": "git", + "url": "https://git.lix.systems/lix-project/nixos-module" }, "original": { - "type": "tarball", - "url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3-1.tar.gz" + "type": "git", + "url": "https://git.lix.systems/lix-project/nixos-module" + } + }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "chaotic", + "jovian", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1729697500, + "narHash": "sha256-VFTWrbzDlZyFHHb1AlKRiD/qqCJIripXKiCSFS8fAOY=", + "owner": "zhaofengli", + "repo": "nix-github-actions", + "rev": "e418aeb728b6aa5ca8c5c71974e7159c2df1d8cf", + "type": "github" + }, + "original": { + "owner": "zhaofengli", + "ref": "matrix-name", + "repo": "nix-github-actions", + "type": "github" } }, "nixpkgs": { "locked": { - "lastModified": 1741379970, - "narHash": "sha256-Wh7esNh7G24qYleLvgOSY/7HlDUzWaL/n4qzlBePpiw=", - "owner": "nixos", + "lastModified": 1754725699, + "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "36fd87baa9083f34f7f5027900b62ee6d09b1f2f", + "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054", "type": "github" }, "original": { - "owner": "nixos", + "owner": "NixOS", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" @@ -211,6 +316,22 @@ } }, "nixpkgs_2": { + "locked": { + "lastModified": 1741379970, + "narHash": "sha256-Wh7esNh7G24qYleLvgOSY/7HlDUzWaL/n4qzlBePpiw=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "36fd87baa9083f34f7f5027900b62ee6d09b1f2f", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_3": { "locked": { "lastModified": 1716044191, "narHash": "sha256-V/JRCf9iOKGMmmMCs/K1n+vOP01Y7ZPJntHXxDEvzWM=", @@ -229,8 +350,9 @@ "root": { "inputs": { "asus-numberpad-driver": "asus-numberpad-driver", + "chaotic": "chaotic", "hm-stable": "hm-stable", - "home-manager": "home-manager", + "home-manager": "home-manager_2", "impermanence": "impermanence", "lix-module": "lix-module", "nixpkgs-stable": "nixpkgs-stable", @@ -239,6 +361,27 @@ "zapret": "zapret" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "chaotic", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1754880555, + "narHash": "sha256-tG6l0wiX8V8IvG4HFYY8IYN5vpNAxQ+UWunjjpE6SqU=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "17c591a44e4eb77f05f27cd37e1cfc3f219c7fc4", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -272,7 +415,7 @@ "yandex-music": { "inputs": { "flake-utils": "flake-utils_2", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "ymExe": "ymExe" }, "locked": { @@ -303,7 +446,7 @@ }, "zapret": { "inputs": { - "nixpkgs": "nixpkgs_2", + "nixpkgs": "nixpkgs_3", "zapret-src": "zapret-src" }, "locked": { diff --git a/flake.nix b/flake.nix index 535fd48..b9be5f9 100644 --- a/flake.nix +++ b/flake.nix @@ -23,13 +23,14 @@ inputs.nixpkgs.follows = "nixpkgs-unstable"; }; lix-module = { - url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3-1.tar.gz"; + url = "git+https://git.lix.systems/lix-project/nixos-module"; inputs.nixpkgs.follows = "nixpkgs-unstable"; }; zapret.url = "github:n0vvvonder/zapret-flake.nix"; + chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable"; }; - outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, hm-stable, lix-module, asus-numberpad-driver, ...}@inputs: { + outputs = { self, nixpkgs-unstable, impermanence, home-manager, zapret, nixpkgs-stable, hm-stable, lix-module, asus-numberpad-driver, chaotic, ...}@inputs: { nixosConfigurations = { Ratchet = nixpkgs-unstable.lib.nixosSystem { system = "x86_64-linux"; @@ -66,6 +67,7 @@ specialArgs = { inherit inputs; }; modules = [ lix-module.nixosModules.default + chaotic.nixosModules.default impermanence.nixosModules.impermanence ./hosts/generic/persistence.nix ./hosts/generic/configuration_generic.nix diff --git a/home/yaroslav/Aphelion/Aphelion.nix b/home/yaroslav/Aphelion/Aphelion.nix index 745aa22..30ac9eb 100644 --- a/home/yaroslav/Aphelion/Aphelion.nix +++ b/home/yaroslav/Aphelion/Aphelion.nix @@ -1,7 +1,15 @@ -{ ... }: +{ pkgs, ... }: { imports = [ ../home.nix ./mpd.nix ]; + home.packages = with pkgs; [ + hyprpolkitagent + swaynotificationcenter + hyprpaper + grim + slurp + wl-clipboard + ]; } diff --git a/home/yaroslav/home.nix b/home/yaroslav/home.nix index 18671bf..d89de69 100644 --- a/home/yaroslav/home.nix +++ b/home/yaroslav/home.nix @@ -51,6 +51,7 @@ in "vscode" "unrar" "teamspeak3" + "ida-free" ]; home.packages = with pkgs; [ mc diff --git a/home/yaroslav/nvim.nix b/home/yaroslav/nvim.nix index e1089e3..d4f44a6 100644 --- a/home/yaroslav/nvim.nix +++ b/home/yaroslav/nvim.nix @@ -28,9 +28,9 @@ programs.neovim = { vimtex coq_nvim coq-artifacts - ]; + ]; extraLuaConfig = '' - local function my_on_attach(bufnr) + local function my_on_attach(bufnr) local api = require "nvim-tree.api" local function opts(desc) diff --git a/hosts/Aphelion/Aphelion_misc.nix b/hosts/Aphelion/Aphelion_misc.nix index 72e3d9a..c8d50c1 100644 --- a/hosts/Aphelion/Aphelion_misc.nix +++ b/hosts/Aphelion/Aphelion_misc.nix @@ -1,7 +1,23 @@ -{ ... }: +{ config, lib, ... }: { virtualisation.waydroid.enable = true; services.flatpak.enable = true; programs.nekoray.enable = true; programs.nekoray.tunMode.enable = true; + programs.obs-studio.enable = true; + programs.obs-studio.enableVirtualCamera = true; + boot.extraModulePackages = with config.boot.kernelPackages; [ + v4l2loopback + ]; + boot.kernelModules = [ "v4l2loopback" ]; + boot.extraModprobeConfig = '' + options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 + ''; + security.polkit.enable = true; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ + "ida-free" + ]; + programs.hyprland.enable = true; + programs.waybar.enable = true; + } diff --git a/hosts/Aphelion/hardware-Aphelion.nix b/hosts/Aphelion/hardware-Aphelion.nix index dc84991..6b7ead8 100644 --- a/hosts/Aphelion/hardware-Aphelion.nix +++ b/hosts/Aphelion/hardware-Aphelion.nix @@ -14,7 +14,7 @@ boot.extraModulePackages = [ ]; boot.supportedFilesystems = [ "zfs" ]; boot.kernelParams = [ - "video=DP-1:1920x1080@60" + "video=DP-1:1920x1080@60" ]; fileSystems."/" = @@ -58,13 +58,17 @@ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ]; + chaotic.mesa-git.enable = true; + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - #networking.firewall.allowedTCPPorts = [ 42420 ]; - networking.firewall.trustedInterfaces = [ "enp12s0" "wlp11s0" ]; + networking.firewall.allowedTCPPorts = [ 42420 25565 ]; + networking.firewall.allowedUDPPorts = [ 5900 ]; + + networking.firewall.trustedInterfaces = [ "enp12s0" "wlp11s0" "wg0"]; #networking.firewall.enable = false; # networking.interfaces.enp12s0.useDHCP = lib.mkDefault true; diff --git a/hosts/generic/configuration_generic.nix b/hosts/generic/configuration_generic.nix index a79d72a..7b2538a 100644 --- a/hosts/generic/configuration_generic.nix +++ b/hosts/generic/configuration_generic.nix @@ -40,5 +40,10 @@ # locales i18n.extraLocales = [ "en_US.UTF-8/UTF-8" "C.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ]; + + # keyboard + services.udev.extraRules = '' + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{serial}=="*vial:f64c2b3c*", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl" + ''; } From 18b8e2d9bfbde53005d113169e8a2fc22bc65da4 Mon Sep 17 00:00:00 2001 From: yaroslav Date: Sat, 6 Sep 2025 01:24:29 +0300 Subject: [PATCH 3/4] commit before update --- home/yaroslav/home.nix | 1 + home/yaroslav/home_gui.nix | 1 + home/yaroslav/kitty.nix | 3 +++ home/yaroslav/nvim.nix | 9 ++++++++- hosts/generic/persistence.nix | 1 + 5 files changed, 14 insertions(+), 1 deletion(-) diff --git a/home/yaroslav/home.nix b/home/yaroslav/home.nix index d89de69..ce3223b 100644 --- a/home/yaroslav/home.nix +++ b/home/yaroslav/home.nix @@ -52,6 +52,7 @@ in "unrar" "teamspeak3" "ida-free" + "zoom" ]; home.packages = with pkgs; [ mc diff --git a/home/yaroslav/home_gui.nix b/home/yaroslav/home_gui.nix index 9eeef4f..49ec582 100644 --- a/home/yaroslav/home_gui.nix +++ b/home/yaroslav/home_gui.nix @@ -32,5 +32,6 @@ wl-kbptr brave heroic + zoom-us ]; } diff --git a/home/yaroslav/kitty.nix b/home/yaroslav/kitty.nix index a5cf227..e174b58 100644 --- a/home/yaroslav/kitty.nix +++ b/home/yaroslav/kitty.nix @@ -10,6 +10,9 @@ font_size = 10; }; }; + home.sessionVariables = { + TERMINAL = "kitty"; + }; } diff --git a/home/yaroslav/nvim.nix b/home/yaroslav/nvim.nix index d4f44a6..422eecf 100644 --- a/home/yaroslav/nvim.nix +++ b/home/yaroslav/nvim.nix @@ -28,6 +28,8 @@ programs.neovim = { vimtex coq_nvim coq-artifacts + transparent-nvim + zenbones-nvim ]; extraLuaConfig = '' local function my_on_attach(bufnr) @@ -70,8 +72,13 @@ programs.neovim = { -- vim.fn["vsnip#anonymous"](args.body) -- end, -- }, --- }) + --}) + + set termguicolors = true + set background = dark + colorscheme zenbones ''; + }; } diff --git a/hosts/generic/persistence.nix b/hosts/generic/persistence.nix index 59054c0..9a7b22f 100644 --- a/hosts/generic/persistence.nix +++ b/hosts/generic/persistence.nix @@ -10,6 +10,7 @@ "/var/lib/systemd/timers" "/var/lib/fprint" "/var/lib/libvirt" + "/var/lib/waydroid" "/var/lib/teamspeak3-server" "/etc/NetworkManager" "/var/lib/sddm" From 96d17f2c449b9fde946e7262ff154634ebe60ff9 Mon Sep 17 00:00:00 2001 From: yaroslav Date: Tue, 16 Sep 2025 13:04:58 +0300 Subject: [PATCH 4/4] fixed update --- flake.lock | 90 +++++++++++++++++++++--------------------- home/yaroslav/home.nix | 3 ++ 2 files changed, 48 insertions(+), 45 deletions(-) diff --git a/flake.lock b/flake.lock index 43463bc..1b0e3c3 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1754459970, - "narHash": "sha256-M9Us2LAGtf25hmYCk+n0nbBUlcrs9kuG9tVF8QuFktg=", + "lastModified": 1756237290, + "narHash": "sha256-lpS2jbnG4025lmEFhcdSmMPncHpEMOsCNBA+Pyv+BNE=", "owner": "asus-linux-drivers", "repo": "asus-numberpad-driver", - "rev": "130a1b4048fbee0b29996147d26965193580f055", + "rev": "e34546fca9b31e9c660d41b3aa37cf24009706ed", "type": "github" }, "original": { @@ -29,11 +29,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1754907869, - "narHash": "sha256-tzshAAjt0xDjCc/aOgii6PSqePIc2rWYSXF8VnqEhIg=", + "lastModified": 1757011047, + "narHash": "sha256-y4cFEDZ7Mmz4vLPSc2pDF7OXJ9ylW3cOU2Tztx/ApI0=", "owner": "chaotic-cx", "repo": "nyx", - "rev": "b5f83e0d7bce67af178f6aaef95853fedf4c00a0", + "rev": "7b9fd94dccd3a22f32dff8560f248991300f8c16", "type": "github" }, "original": { @@ -114,11 +114,11 @@ ] }, "locked": { - "lastModified": 1753592768, - "narHash": "sha256-oV695RvbAE4+R9pcsT9shmp6zE/+IZe6evHWX63f2Qg=", + "lastModified": 1756679287, + "narHash": "sha256-Xd1vOeY9ccDf5VtVK12yM0FS6qqvfUop8UQlxEB+gTQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "fc3add429f21450359369af74c2375cb34a2d204", + "rev": "07fc025fe10487dd80f2ec694f1cd790e752d0e8", "type": "github" }, "original": { @@ -136,11 +136,11 @@ ] }, "locked": { - "lastModified": 1754886238, - "narHash": "sha256-LTQomWOwG70lZR+78ZYSZ9sYELWNq3HJ7/tdHzfif/s=", + "lastModified": 1756954499, + "narHash": "sha256-Pg4xBHzvzNY8l9x/rLWoJMnIR8ebG+xeU+IyqThIkqU=", "owner": "nix-community", "repo": "home-manager", - "rev": "0d492b89d1993579e63b9dbdaed17fd7824834da", + "rev": "ed1a98c375450dfccf427adacd2bfd1a7b22eb25", "type": "github" }, "original": { @@ -156,11 +156,11 @@ ] }, "locked": { - "lastModified": 1754527677, - "narHash": "sha256-qAzCtmKkMz40xFgP9KN+TCKjVieK4u04EWwl2KvVk0E=", + "lastModified": 1757075491, + "narHash": "sha256-a+NMGl5tcvm+hyfSG2DlVPa8nZLpsumuRj1FfcKb2mQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "475d35797d9537354d825260cf583114537affc2", + "rev": "f56bf065f9abedc7bc15e1f2454aa5c8edabaacf", "type": "github" }, "original": { @@ -194,11 +194,11 @@ ] }, "locked": { - "lastModified": 1754639028, - "narHash": "sha256-w1+XzPBAZPbeGLMAgAlOjIquswo6Q42PMep9KSrRzOA=", + "lastModified": 1756638688, + "narHash": "sha256-ddxbPTnIchM6tgxb6fRrCvytlPE2KLifckTnde/irVQ=", "owner": "Jovian-Experiments", "repo": "Jovian-NixOS", - "rev": "d49809278138d17be77ab0ef5506b26dc477fa62", + "rev": "e7b8679cba79f4167199f018b05c82169249f654", "type": "github" }, "original": { @@ -210,11 +210,11 @@ "lix": { "flake": false, "locked": { - "lastModified": 1754639322, - "narHash": "sha256-yQbFoOT/jes5WTUUIjXmWugIacvvXRZwUnZ4ctrdr0o=", - "rev": "52ef1181f0a4e2156227a5086ca9a99c43214515", + "lastModified": 1755787066, + "narHash": "sha256-X2UwkUEban08GRSPXRr+kz8fckHqebr3P77qSvjoeOw=", + "rev": "ac9721a92e8138d29707824dbedb484c76948493", "type": "tarball", - "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/52ef1181f0a4e2156227a5086ca9a99c43214515.tar.gz" + "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/ac9721a92e8138d29707824dbedb484c76948493.tar.gz?rev=ac9721a92e8138d29707824dbedb484c76948493" }, "original": { "type": "tarball", @@ -231,11 +231,11 @@ ] }, "locked": { - "lastModified": 1751909859, - "narHash": "sha256-gbpuESxl/An4GTh7QEbQRYJozVIxWkwVGbWK0/0GoRc=", + "lastModified": 1756511062, + "narHash": "sha256-IgD1JR7scSEwlK/YAbmrcTWpAYT30LPldCUHdzXkaMs=", "ref": "refs/heads/main", - "rev": "4d4c2b8f0a801c91ce5b717c77fe3a17efa1402f", - "revCount": 150, + "rev": "3f09a5eb772e02d98bb8878ab687d5b721f00d16", + "revCount": 162, "type": "git", "url": "https://git.lix.systems/lix-project/nixos-module" }, @@ -269,11 +269,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1754725699, - "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=", - "owner": "NixOS", + "lastModified": 1756989294, + "narHash": "sha256-vh3F0p7pGvj9tItYjlqiZ3zTJCuw9+d74RhYCYLuaBQ=", + "owner": "PedroHLC", "repo": "nixpkgs", - "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054", + "rev": "f04ea9d87566cfe950cf45d7311a9964dcf3bf38", "type": "github" }, "original": { @@ -285,11 +285,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1754292888, - "narHash": "sha256-1ziydHSiDuSnaiPzCQh1mRFBsM2d2yRX9I+5OPGEmIE=", + "lastModified": 1757020766, + "narHash": "sha256-PLoSjHRa2bUbi1x9HoXgTx2AiuzNXs54c8omhadyvp0=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "ce01daebf8489ba97bd1609d185ea276efdeb121", + "rev": "fe83bbdde2ccdc2cb9573aa846abe8363f79a97a", "type": "github" }, "original": { @@ -301,11 +301,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1754214453, - "narHash": "sha256-Q/I2xJn/j1wpkGhWkQnm20nShYnG7TI99foDBpXm1SY=", + "lastModified": 1756787288, + "narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5b09dc45f24cf32316283e62aec81ffee3c3e376", + "rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1", "type": "github" }, "original": { @@ -369,11 +369,11 @@ ] }, "locked": { - "lastModified": 1754880555, - "narHash": "sha256-tG6l0wiX8V8IvG4HFYY8IYN5vpNAxQ+UWunjjpE6SqU=", + "lastModified": 1756953131, + "narHash": "sha256-alhjsmCdJDNZCP824NB21ZfqepVsGwpIiRBmSHUvp7U=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "17c591a44e4eb77f05f27cd37e1cfc3f219c7fc4", + "rev": "c2e69d21d6a1c83de3326c975d484c4c79893896", "type": "github" }, "original": { @@ -419,11 +419,11 @@ "ymExe": "ymExe" }, "locked": { - "lastModified": 1754096045, - "narHash": "sha256-A50x6z0okGFqlS7kN32zH8IyZXKcdGRMVW4gXlFTak4=", + "lastModified": 1756476780, + "narHash": "sha256-gxI12iYljdskHTT+YC8/uCjCgUYJDpK1dZEK0g1KHVE=", "owner": "cucumber-sp", "repo": "yandex-music-linux", - "rev": "8f69605f84ade24e21f728aee14110b48690f390", + "rev": "a2d9c7a0e52fe46582f1225ddb33eaf47f06fec2", "type": "github" }, "original": { @@ -435,13 +435,13 @@ "ymExe": { "flake": false, "locked": { - "narHash": "sha256-jkj4DiFUd4gULozNIjGkng3Wceuwle63bwnGhBMaDxw=", + "narHash": "sha256-XYvri3YNpnKtsZUWegLJqWPrRPXDsst1Jbl7P+iGFn4=", "type": "file", - "url": "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.62.0.exe" + "url": "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.66.1.exe" }, "original": { "type": "file", - "url": "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.62.0.exe" + "url": "https://music-desktop-application.s3.yandex.net/stable/Yandex_Music_x64_5.66.1.exe" } }, "zapret": { diff --git a/home/yaroslav/home.nix b/home/yaroslav/home.nix index ce3223b..18c4f0a 100644 --- a/home/yaroslav/home.nix +++ b/home/yaroslav/home.nix @@ -54,6 +54,9 @@ in "ida-free" "zoom" ]; + nixpkgs.config.permittedInsecurePackages = [ + "qtwebengine-5.15.19" + ]; home.packages = with pkgs; [ mc htop