From e51289956c1a299cac926e2e8b8ee28ce5b85f66 Mon Sep 17 00:00:00 2001 From: Lukrecja Date: Tue, 30 Dec 2025 23:38:39 +0100 Subject: [PATCH] revert back to normal niri --- home-manager/flake.lock | 144 +--------------------------------------- home-manager/flake.nix | 7 +- home-manager/home.nix | 2 +- niri/config.kdl | 19 ------ 4 files changed, 3 insertions(+), 169 deletions(-) diff --git a/home-manager/flake.lock b/home-manager/flake.lock index d3193b3..80e56a2 100644 --- a/home-manager/flake.lock +++ b/home-manager/flake.lock @@ -1,21 +1,5 @@ { "nodes": { - "advisory-db": { - "flake": false, - "locked": { - "lastModified": 1765196634, - "narHash": "sha256-A6TExffYU4WElf8GW8yaqUFK2P00ES/a/HSqqhIL7pk=", - "owner": "rustsec", - "repo": "advisory-db", - "rev": "6b4a28c7201255e36850fd6e2ca1fbdd8d4f5b4d", - "type": "github" - }, - "original": { - "owner": "rustsec", - "repo": "advisory-db", - "type": "github" - } - }, "base16": { "inputs": { "fromYaml": "fromYaml" @@ -84,40 +68,6 @@ "type": "github" } }, - "crane": { - "locked": { - "lastModified": 1765145449, - "narHash": "sha256-aBVHGWWRzSpfL++LubA0CwOOQ64WNLegrYHwsVuVN7A=", - "owner": "ipetkov", - "repo": "crane", - "rev": "69f538cdce5955fcd47abfed4395dc6d5194c1c5", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "fenix": { - "inputs": { - "nixpkgs": "nixpkgs", - "rust-analyzer-src": "rust-analyzer-src" - }, - "locked": { - "lastModified": 1765252472, - "narHash": "sha256-byMt/uMi7DJ8tRniFopDFZMO3leSjGp6GS4zWOFT+uQ=", - "owner": "nix-community", - "repo": "fenix", - "rev": "8456b985f6652e3eef0632ee9992b439735c5544", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "fenix", - "type": "github" - } - }, "firefox-gnome-theme": { "flake": false, "locked": { @@ -210,63 +160,7 @@ "type": "github" } }, - "niri": { - "inputs": { - "advisory-db": "advisory-db", - "crane": "crane", - "fenix": "fenix", - "nixpkgs": [ - "nixpkgs" - ], - "treefmt-nix": "treefmt-nix" - }, - "locked": { - "lastModified": 1766845455, - "narHash": "sha256-bluv3NFZcEBfvbS9v7FtSzN2CKgaY/Umg5Z0+QUJCXg=", - "owner": "Naxdy", - "repo": "niri", - "rev": "511021c725dd03843527c0cd8766bcba9cd9e532", - "type": "github" - }, - "original": { - "owner": "Naxdy", - "repo": "niri", - "type": "github" - } - }, "nixpkgs": { - "locked": { - "lastModified": 1764950072, - "narHash": "sha256-BmPWzogsG2GsXZtlT+MTcAWeDK5hkbGRZTeZNW42fwA=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "f61125a668a320878494449750330ca58b78c557", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_2": { - "locked": { - "lastModified": 1761236834, - "narHash": "sha256-+pthv6hrL5VLW2UqPdISGuLiUZ6SnAXdd2DdUE+fV2Q=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "d5faa84122bc0a1fd5d378492efce4e289f8eac1", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { "locked": { "lastModified": 1766651565, "narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=", @@ -350,31 +244,13 @@ "root": { "inputs": { "home-manager": "home-manager", - "niri": "niri", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs", "noctalia": "noctalia", "quickshell": "quickshell", "rust-overlay": "rust-overlay", "stylix": "stylix" } }, - "rust-analyzer-src": { - "flake": false, - "locked": { - "lastModified": 1765120009, - "narHash": "sha256-nG76b87rkaDzibWbnB5bYDm6a52b78A+fpm+03pqYIw=", - "owner": "rust-lang", - "repo": "rust-analyzer", - "rev": "5e3e9c4e61bba8a5e72134b9ffefbef8f531d008", - "type": "github" - }, - "original": { - "owner": "rust-lang", - "ref": "nightly", - "repo": "rust-analyzer", - "type": "github" - } - }, "rust-overlay": { "inputs": { "nixpkgs": [ @@ -524,24 +400,6 @@ "repo": "base16-zed", "type": "github" } - }, - "treefmt-nix": { - "inputs": { - "nixpkgs": "nixpkgs_2" - }, - "locked": { - "lastModified": 1762938485, - "narHash": "sha256-AlEObg0syDl+Spi4LsZIBrjw+snSVU4T8MOeuZJUJjM=", - "owner": "numtide", - "repo": "treefmt-nix", - "rev": "5b4ee75aeefd1e2d5a1cc43cf6ba65eba75e83e4", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "treefmt-nix", - "type": "github" - } } }, "root": "root", diff --git a/home-manager/flake.nix b/home-manager/flake.nix index e7401af..d951398 100644 --- a/home-manager/flake.nix +++ b/home-manager/flake.nix @@ -28,14 +28,9 @@ url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; }; - - niri = { - url = "github:Naxdy/niri"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; - outputs = { nixpkgs, home-manager, rust-overlay, stylix, niri, ... }@inputs: { + outputs = { nixpkgs, home-manager, rust-overlay, stylix, ... }@inputs: { homeConfigurations.lusia = home-manager.lib.homeManagerConfiguration { pkgs = nixpkgs.legacyPackages.x86_64-linux; diff --git a/home-manager/home.nix b/home-manager/home.nix index 2042442..c29ce36 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -9,7 +9,7 @@ home.packages = with pkgs; [ # Window manager & desktop environment - inputs.niri.packages.${pkgs.system}.niri + niri swayidle swww kanshi diff --git a/niri/config.kdl b/niri/config.kdl index c9da7b3..f2a6178 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -1,9 +1,4 @@ layout { - blur { - noise 0.1 - passes 3 - radius 6 - } gaps 5 background-color "transparent" always-center-single-column @@ -112,25 +107,11 @@ window-rule { window-rule { match app-id="kitty" opacity 0.9 - blur { - on - } } window-rule { match app-id="code" opacity 0.9 - blur { - on - } -} - -window-rule { - match app-id="org.gnome.Nautilus" - opacity 0.9 - blur { - on - } } layer-rule {