finalising niri config on io

This commit is contained in:
William 2025-10-20 14:10:18 -03:00
parent 8600145275
commit 6d3ceccf93
7 changed files with 51 additions and 3 deletions

21
flake.lock generated
View file

@ -548,6 +548,26 @@
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1760846226,
"narHash": "sha256-xmU8kAsRprJiTGBTaGrwmjBP3AMA9ltlrxHKFuy5JWc=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "5024e1901239a76b7bf94a4cd27f3507e639d49e",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nix-index-database",
"type": "github"
}
},
"nix-options-doc": {
"inputs": {
"flake-utils": "flake-utils",
@ -823,6 +843,7 @@
"niri": "niri",
"niri-flake": "niri-flake",
"nix-flatpak": "nix-flatpak",
"nix-index-database": "nix-index-database",
"nixos-cli": "nixos-cli",
"nixpkgs": "nixpkgs_6",
"nixpkgs-stable": "nixpkgs-stable_2",

View file

@ -46,6 +46,11 @@
niri-flake.url = "github:sodiboo/niri-flake";
niri.url = "github:baduhai/niri/auto-center-when-space-available";
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =

View file

@ -12,8 +12,9 @@ in
username = "user";
hostname = "rotterdam";
tags = [
"btop"
"desktop"
"btop"
"comma"
"direnv"
"gaming"
"helix"
@ -28,8 +29,9 @@ in
username = "user";
hostname = "io";
tags = [
"btop"
"desktop"
"btop"
"comma"
"direnv"
"helix"
"starship"

View file

@ -102,6 +102,7 @@
uninstallUnmanaged = true;
update.auto.enable = true;
};
gvfs.enable = true;
};
security.rtkit.enable = true; # Needed for pipewire to acquire realtime priority

7
users/modules/comma.nix Normal file
View file

@ -0,0 +1,7 @@
{ inputs, ... }:
{
imports = [ inputs.nix-index-database.homeModules.nix-index ];
programs.nix-index-database.comma.enable = true;
}

View file

@ -1,4 +1,9 @@
{ inputs, pkgs, ... }:
{
config,
inputs,
pkgs,
...
}:
{
fonts.fontconfig.enable = true;
@ -18,6 +23,7 @@
sha256 = "sha256:0g2lgqjdrn3c51glry7x2z30y7ml0y61arl5ykmf4yj0p85s5f41";
}}";
bell-features = "border";
gtk-titlebar-style = "tabs";
keybind = [ "shift+enter=esc:\\x1b[13;2u" ];
};
};
@ -42,4 +48,9 @@
gtk-decoration-layout = "appmenu:";
};
};
xdg = {
enable = true;
userDirs.enable = true;
};
}

View file

@ -150,6 +150,7 @@ in
Ctrl+Alt+Shift+A allow-when-locked=true { spawn "toggleaudiosink"; }
Mod+W repeat=false { toggle-overview; }
Mod+Q { close-window; }
Alt+Shift+Q { close-window;}
Super+Shift+L hotkey-overlay-title="Lock Screen" { spawn "dms" "ipc" "call" "lock" "lock"; }
Mod+Shift+Q { close-window; }
Mod+V hotkey-overlay-title="Clipboard Manager" { spawn "dms" "ipc" "call" "clipboard" "toggle"; }