Split Hyprlock,Noctalia-Shell and Hyprpaper into separate directories. Made changes to ncli, to automatically switch specialisations. Started configuring niri.

This commit is contained in:
2025-11-25 14:30:53 +01:00
parent 157ba06453
commit 69d1d05563
26 changed files with 784 additions and 93 deletions

26
niri/home.nix Normal file
View File

@ -0,0 +1,26 @@
{pkgs, inputs, ...}:
{
imports = [
inputs.niri.homeModules.niri
];
programs.niri = {
package = pkgs.niri;
enable = true;
#xwayland.enable = true;
config = ''
binds {
Super+Return { spawn "kitty"; }
Super+Space { spawn "fuzzel"; }
Super+Q { close-window; }
Super+Left { focus-column-left; }
Super+Right { focus-column-right; }
Super+Up { focus-workspace-up; }
Super+Down { focus-workspace-down; }
Super+L { spawn "hyprlock"; }
Super+Shift+E { "quit"; }
}
'';
};
}

45
niri/niri.nix Normal file
View File

@ -0,0 +1,45 @@
{ config, inputs, pkgs, ... }:
{
imports = [
# ./autostart.nix
../modules/noctalia
../modules/hyprlock
../modules/hyprpaper
];
home-manager.sharedModules = [
./home.nix
];
environment.systemPackages = with pkgs;
[
mako
waybar
fuzzel
];
# programs = {
# niri = {
# enable = true;
# };
# };
#services.xserver.enable = true;
#services.xserver.displayManager.sddm.enable = true;
# xdg.portal = {
# enable = true;
# extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
# };
#sound.enable = true;
#security.rtkit.enable = true;
#services.pipewire = {
# enable = true;
# alsa.enable = true;
# #alsa.support3Bbit = true;
# pulse.enable = true;
# jack.enable = true;
#};
}