export homeManagerModules."qenya@shaw"
This commit is contained in:
parent
d881607cb0
commit
c5002c3e28
20
flake.nix
20
flake.nix
|
@ -27,17 +27,31 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, home-manager, plasma-manager, nur, agenix, birdsong, ... }: {
|
outputs = inputs@{ self, nixpkgs, home-manager, plasma-manager, nur, agenix, birdsong, ... }: {
|
||||||
|
# nixosConfigurations.kalessin = nixpkgs.lib.nixosSystem {
|
||||||
|
# system = "aarch64-linux";
|
||||||
|
# modules = [
|
||||||
|
# # Import the previous configuration.nix we used,
|
||||||
|
# # so the old configuration file still takes effect
|
||||||
|
# ./configuration.nix
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
# The name of this output type is not standardised. I have picked
|
# The name of this output type is not standardised. I have picked
|
||||||
# "homeManagerModules" as the discussion here suggests it's the most common:
|
# "homeManagerModules" as the discussion here suggests it's the most common:
|
||||||
# https://github.com/nix-community/home-manager/issues/1783
|
# https://github.com/nix-community/home-manager/issues/1783
|
||||||
#
|
#
|
||||||
# However, note CppNix >= 2.22.3, >= 2.24 has blessed "homeModules":
|
# However, note CppNix >= 2.22.3, >= 2.24 has blessed "homeModules":
|
||||||
# https://github.com/NixOS/nix/pull/10858
|
# https://github.com/NixOS/nix/pull/10858
|
||||||
homeManagerModules."qenya" = { config, lib, pkgs, ... }: {
|
homeManagerModules = {
|
||||||
imports = [
|
"qenya".imports = [
|
||||||
plasma-manager.homeManagerModules.plasma-manager
|
plasma-manager.homeManagerModules.plasma-manager
|
||||||
./home/qenya
|
./home/qenya
|
||||||
];
|
];
|
||||||
|
|
||||||
|
"qenya@shaw".imports = [
|
||||||
|
self.homeManagerModules."qenya"
|
||||||
|
./hosts/shaw/home.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
colmena = {
|
colmena = {
|
||||||
|
@ -56,7 +70,7 @@
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
nixpkgs.overlays = [ nur.overlay ];
|
nixpkgs.overlays = [ nur.overlay ];
|
||||||
|
|
||||||
# TODO: make this or something like it work without infinite recursion
|
# TODO: make this or something like it work without infinite recursion
|
||||||
# home-manager.users."qenya" = lib.mkIf (config.users.users ? "qenya") self.homeManagerModules."qenya";
|
# home-manager.users."qenya" = lib.mkIf (config.users.users ? "qenya") self.homeManagerModules."qenya";
|
||||||
home-manager.users."qenya" = self.homeManagerModules."qenya";
|
home-manager.users."qenya" = self.homeManagerModules."qenya";
|
||||||
|
|
Loading…
Reference in a new issue