feat: start work on adding niri

This commit is contained in:
Ashhhleyyy 2024-08-06 13:39:18 +01:00
parent a86db73383
commit 738ad536b5
Signed by: ash
GPG key ID: 83B789081A0878FB
5 changed files with 1012 additions and 3 deletions

View file

@ -7,6 +7,7 @@
enable = true;
openFirewall = true;
};
users.users.ash.extraGroups = [ "networkmanager" ];
time.timeZone = "Europe/London";
i18n.defaultLocale = "en_GB.utf8";

File diff suppressed because it is too large Load diff

View file

@ -44,9 +44,26 @@
};
agenix.url = "github:ryantm/agenix";
niri-flake = {
url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs-unstable";
inputs.nixpkgs-stable.follows = "nixpkgs-stable";
};
};
outputs = { self, nixpkgs-stable, nixpkgs-unstable, lix-module-stable, lix-module-unstable, fsh, home-manager-stable, home-manager-unstable, nixos-generators, vscode-extensions, agenix, ... }:
outputs = {
self,
nixpkgs-stable, nixpkgs-unstable,
lix-module-stable, lix-module-unstable,
home-manager-stable, home-manager-unstable,
nixos-generators,
fsh,
vscode-extensions,
agenix,
niri-flake,
...
}:
let
home-manager = home-manager-unstable;
overlays = [
@ -108,6 +125,7 @@
system = "x86_64-linux";
modules = [
overlays-module
niri-flake.nixosModules.niri
./hosts/loona/configuration.nix
home-manager.nixosModules.home-manager
lix-module-unstable.nixosModules.default

5
home/ash/niri.nix Normal file
View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }: {
programs.niri = {
# enable = true;
};
}

14
roles/niri.nix Normal file
View file

@ -0,0 +1,14 @@
{ lib, pkgs, ... }: {
services = {
xserver = {
enable = true;
xkb.layout = "gb";
};
displayManager.sddm = {
enable = true;
theme = "catppuccin-mocha";
};
};
programs.niri.enable = true;
hardware.graphics.enable = true;
}