Desktop-specific NixOS and home-manager configuration: boot, desktop, niri, nix, services Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
449 B
Nix
17 lines
449 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.nixos.desktop-nix = { config, lib, pkgs, ... }: {
|
|
# Import parent aspect for inheritance
|
|
imports = [ inputs.self.modules.nixos.common-nix ];
|
|
|
|
environment.etc."channels/nixpkgs".source = inputs.nixpkgs.outPath;
|
|
|
|
nix = {
|
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
|
nixPath = [
|
|
"nixpkgs=${inputs.nixpkgs}"
|
|
"/nix/var/nix/profiles/per-user/root/channels"
|
|
];
|
|
};
|
|
};
|
|
}
|