niri: prepare for niri setup
This commit is contained in:
parent
f6c261c35a
commit
4da052d0bd
3 changed files with 28 additions and 1 deletions
|
|
@ -13,6 +13,8 @@
|
|||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
|
||||
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
|
||||
};
|
||||
|
||||
|
|
@ -21,6 +23,7 @@
|
|||
nixpkgs,
|
||||
home-manager,
|
||||
stylix,
|
||||
niri,
|
||||
nix-vscode-extensions,
|
||||
...
|
||||
}:
|
||||
|
|
@ -29,7 +32,10 @@
|
|||
system:
|
||||
import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [ nix-vscode-extensions.overlays.default ];
|
||||
overlays = [
|
||||
nix-vscode-extensions.overlays.default
|
||||
niri.overlays.niri
|
||||
];
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
|
@ -52,6 +58,7 @@
|
|||
home-manager.backupFileExtension = "backup";
|
||||
}
|
||||
stylix.nixosModules.stylix
|
||||
niri.nixosModules.niri
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
4
homeManagerModules/niri.nix
Normal file
4
homeManagerModules/niri.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
programs.niri.config = "";
|
||||
}
|
||||
16
nixosModules/programs/niri.nix
Normal file
16
nixosModules/programs/niri.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.niri.enable = true;
|
||||
programs.niri.package = pkgs.niri-unstable;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
alacritty
|
||||
wl-clipboard
|
||||
wayland-utils
|
||||
libsecret
|
||||
cage
|
||||
gamescope
|
||||
xwayland-satellite-unstable
|
||||
swaybg
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue