nya
This commit is contained in:
parent
f37af0088b
commit
53ac199cfe
4 changed files with 4 additions and 4 deletions
|
@ -73,7 +73,7 @@
|
||||||
mkHome = { user ? "sammy", hostname ? null }:
|
mkHome = { user ? "sammy", hostname ? null }:
|
||||||
lib.homeManagerConfiguration {
|
lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [ ./modules/users/${user}.nix ] ++ lib.optional (!isNull hostname) ./modules/home/hosts/${hostname}.nix;
|
modules = [ ./modules/home/users/${user}.nix ] ++ lib.optional (!isNull hostname) ./modules/home/hosts/${hostname}.nix;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs outputs;
|
inherit inputs outputs;
|
||||||
pkgs-unstable = import nixpkgs-unstable { system = "x86_64-linux"; };
|
pkgs-unstable = import nixpkgs-unstable { system = "x86_64-linux"; };
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [ ../home ];
|
imports = [ ../default.nix ];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
userName = "CherryKitten";
|
userName = "CherryKitten";
|
|
@ -9,7 +9,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./graphical.nix
|
./graphical.nix
|
||||||
./security.nix
|
./security.nix
|
||||||
../users
|
./users.nix
|
||||||
./yubikey.nix
|
./yubikey.nix
|
||||||
./virtualization.nix
|
./virtualization.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -16,6 +16,6 @@ in
|
||||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZyQSZw+pExsx2RXB+yxbaJGB9mtvudbQ/BP7E1yKvr openpgp:0x6068FEBB" ];
|
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZyQSZw+pExsx2RXB+yxbaJGB9mtvudbQ/BP7E1yKvr openpgp:0x6068FEBB" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.sammy = lib.mkIf cfg.sammy.enable (import ./sammy.nix);
|
home-manager.users.sammy = lib.mkIf cfg.sammy.enable (import ../home/users/sammy.nix);
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue