feat: start work on adding niri
This commit is contained in:
parent
a86db73383
commit
738ad536b5
5 changed files with 1012 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
users.users.ash.extraGroups = [ "networkmanager" ];
|
||||||
|
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
i18n.defaultLocale = "en_GB.utf8";
|
i18n.defaultLocale = "en_GB.utf8";
|
||||||
|
|
975
flake.lock
975
flake.lock
File diff suppressed because it is too large
Load diff
20
flake.nix
20
flake.nix
|
@ -44,9 +44,26 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
agenix.url = "github:ryantm/agenix";
|
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
|
let
|
||||||
home-manager = home-manager-unstable;
|
home-manager = home-manager-unstable;
|
||||||
overlays = [
|
overlays = [
|
||||||
|
@ -108,6 +125,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
overlays-module
|
overlays-module
|
||||||
|
niri-flake.nixosModules.niri
|
||||||
./hosts/loona/configuration.nix
|
./hosts/loona/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
lix-module-unstable.nixosModules.default
|
lix-module-unstable.nixosModules.default
|
||||||
|
|
5
home/ash/niri.nix
Normal file
5
home/ash/niri.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
programs.niri = {
|
||||||
|
# enable = true;
|
||||||
|
};
|
||||||
|
}
|
14
roles/niri.nix
Normal file
14
roles/niri.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in a new issue