First attempt at configuring niri
Some checks failed
Check config / build (push) Failing after 3s

This commit is contained in:
Alexandre 2026-05-28 22:13:24 +02:00
parent 6914081247
commit 32cc00b413
7 changed files with 21 additions and 7 deletions

View File

@ -7,6 +7,7 @@ in
imports = [ imports = [
modules.common.home modules.common.home
modules.hm.hyprland modules.hm.hyprland
modules.hm.niri
]; ];
home = { home = {

View File

@ -15,7 +15,8 @@
hm = { hm = {
colors = ./home-manager/Rice/colors.nix; colors = ./home-manager/Rice/colors.nix;
hyprland = ./home-manager/Rice/Hyprland/hyprland.nix; hyprland = ./home-manager/Rice/Hyprland/hyprland.nix;
scripts = ./home-manager/Rice/Hyprland/scripts.nix; scripts = ./home-manager/Rice/scripts.nix;
niri = ./home-manager/Rice/Niri/niri.nix;
nvim = ./home-manager/nvim.nix; nvim = ./home-manager/nvim.nix;
shell = ./home-manager/shell.nix; shell = ./home-manager/shell.nix;
spicetify = ./home-manager/spicetify.nix; spicetify = ./home-manager/spicetify.nix;

View File

@ -122,7 +122,7 @@ in
home.packages = with pkgs; [ home.packages = with pkgs; [
# Custom scripts # Custom scripts
(import ./scripts.nix { inherit pkgs; }) (import ../scripts { inherit pkgs; })
# Hyprland related (rice, etc...) # Hyprland related (rice, etc...)
wofi wofi
alacritty alacritty

View File

@ -0,0 +1,12 @@
{}:
{
programs.niri = {
enable = true;
config = {
input = {
focus-follows-mouse = null;
};
};
};
}

View File

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ...}: { pkgs, ...}:
{ {
stylix = { stylix = {

View File

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }: { pkgs, inputs, lib, ... }:
# Spicetify # Spicetify
let let
@ -18,7 +18,7 @@ in
pointer pointer
]; ];
theme = spicePkgs.themes.catppuccin; theme = lib.mkDefault spicePkgs.themes.catppuccin;
colorScheme = "mocha"; colorScheme = lib.mkDefault "mocha";
}; };
} }