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

@ -2,11 +2,12 @@
let
modules = import ../../modules;
in
in
{
imports = [
modules.common.home
modules.hm.hyprland
modules.hm.niri
];
home = {

View File

@ -15,7 +15,8 @@
hm = {
colors = ./home-manager/Rice/colors.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;
shell = ./home-manager/shell.nix;
spicetify = ./home-manager/spicetify.nix;

View File

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

View File

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