feat: add niri

This commit is contained in:
Ahurac 2024-10-10 21:15:27 +02:00
parent 0aca8c81e7
commit 292f0b1719
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,5 @@
{ pkgs, ... }:
{ {
imports = [ ../common/home.nix ]; imports = [ ../common/home.nix ];
@ -40,4 +42,9 @@
]; ];
}; };
}; };
programs.niri = {
enable = true;
package = pkgs.niri;
};
} }

View file

@ -5,10 +5,12 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
flatpaks.url = "github:gmodena/nix-flatpak/main"; flatpaks.url = "github:gmodena/nix-flatpak/main";
anyrun.url = "github:anyrun-org/anyrun"; anyrun.url = "github:anyrun-org/anyrun";
niri.url = "github:sodiboo/niri-flake";
anyrun.inputs.nixpkgs.follows = "nixpkgs"; anyrun.inputs.nixpkgs.follows = "nixpkgs";
niri.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { nixpkgs, home-manager, flatpaks, anyrun, ... }: { outputs = { nixpkgs, home-manager, flatpaks, anyrun, niri, ... }: {
nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem { nixosConfigurations.ahrc-pc = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
@ -37,6 +39,7 @@
home-manager.users.ahurac.imports = [ home-manager.users.ahurac.imports = [
flatpaks.homeManagerModules.nix-flatpak flatpaks.homeManagerModules.nix-flatpak
anyrun.homeManagerModules.default anyrun.homeManagerModules.default
niri.homeModules.niri
./ahrc-laptop/home.nix ./ahrc-laptop/home.nix
]; ];
} }