niri startup and new templates

This commit is contained in:
Matt Nish-Lapidus 2025-03-13 17:49:17 -04:00
parent 0dbeb69359
commit a3f1d6c346
6 changed files with 454 additions and 35 deletions

View file

@ -87,6 +87,7 @@
};
emenel-templates.url = "git+ssh://git@gt.emenel.ca/emenel/nix-flake-templates";
nix-way-templates.url = "github:the-nix-way/dev-templates";
};
@ -110,6 +111,14 @@
nameOf = path: replaceStrings [ ".nix" ] [ "" ] (baseNameOf (toString path));
configArgs = {
inherit inputs;
nix-config = self;
pkgs-stable = inputs.nixpkgs-stable {
config.allowUnfree = true;
};
};
in
{
packages = forAllSystems (
@ -138,13 +147,7 @@
nixosConfigurations = {
eddie = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
nix-config = self;
pkgs-stable = inputs.nixpkgs-stable {
config.allowUnfree = true;
};
};
specialArgs = configArgs;
modules = [
inputs.musnix.nixosModules.musnix
inputs.niri.nixosModules.niri
@ -178,13 +181,7 @@
media-server = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
nix-config = self;
pkgs-stable = inputs.nixpkgs-stable {
config.allowUnfree = true;
};
};
specialArgs = configArgs;
modules = [
home-manager.nixosModules.home-manager
inputs.sops-nix.nixosModules.sops