From 75795c8aa6f4fc2fcc2b43589d94161d50f49b49 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Fri, 26 Dec 2025 19:01:59 +1000 Subject: [PATCH] niri --- core/niri.kdl | 14 ++++++++------ flake.nix | 41 ++--------------------------------------- 2 files changed, 10 insertions(+), 45 deletions(-) diff --git a/core/niri.kdl b/core/niri.kdl index 05493b8..5a5796c 100644 --- a/core/niri.kdl +++ b/core/niri.kdl @@ -66,7 +66,7 @@ input { // Focus windows and outputs automatically when moving the mouse into them. // Setting max-scroll-amount="0%" makes it work only on windows already fully on screen. - // focus-follows-mouse max-scroll-amount="0%" + focus-follows-mouse max-scroll-amount="0%" } // You can configure outputs by their name, which you can find @@ -159,7 +159,7 @@ layout { // off // How many logical pixels the ring extends out from the windows. - width 4 + width 2 // Colors can be set in a variety of ways: // - CSS named colors: "red" @@ -255,10 +255,10 @@ layout { // Top and bottom struts will simply add outer gaps in addition to the area occupied by // layer-shell panels and regular gaps. struts { - // left 64 - // right 64 - // top 64 - // bottom 64 + left 16 + right 16 + top 16 + bottom 16 } } @@ -621,3 +621,5 @@ binds { // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } } + +prefer-no-csd diff --git a/flake.nix b/flake.nix index dc9b115..aacc89c 100755 --- a/flake.nix +++ b/flake.nix @@ -129,8 +129,8 @@ ## Boot animation #mac-style-plymouth = { # example setup I stole the code shamelessly from - #url = "github:SergioRibera/s4rchiso-plymouth-theme"; - #inputs.nixpkgs.follows = "nixpkgs"; + #url = "github:SergioRibera/s4rchiso-plymouth-theme"; + #inputs.nixpkgs.follows = "nixpkgs"; #}; sygil-plymouth = { # first version I "rawdogged" together url = "git+https://codeberg.org/serenity-F/sygil-plymouth"; @@ -190,22 +190,6 @@ ]; }; - ## Home server - work in progress - orcus = nixpkgs.lib.nixosSystem { - specialArgs = { - inherit inputs outputs; - inherit label version; - inherit flakePath disksPath; - inherit primaryUser userDesc homeDir; - inherit wallpapersPath wallpaper; - }; - modules = [ - sops-nix.nixosModules.sops - disko.nixosModules.disko - ./hosts/orcus - ]; - }; - ## Laptop - needs work persephone = nixpkgs.lib.nixosSystem { specialArgs = { @@ -225,26 +209,5 @@ }; - ## Installer for easy nuke-n-paves - work in progress - packages.x86_64-linux = { - iso = nixos-generators.nixosGenerate { - system = "x86_64-linux"; - format = "install-iso"; - specialArgs = { - inherit inputs outputs; - inherit label version; - inherit flakePath disksPath; - inherit primaryUser userDesc homeDir; - inherit wallpapersPath wallpaper; - }; - modules = [ - sops-nix.nixosModules.sops - musnix.nixosModules.musnix - disko.nixosModules.disko - ./hosts/iso - ]; - }; - }; - }; }