mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-15 19:56:17 +00:00
testig HM as module - try 2
This commit is contained in:
@@ -121,6 +121,15 @@
|
|||||||
specialArgs = { inherit inputs outputs lib; hostName = "StuPC";};
|
specialArgs = { inherit inputs outputs lib; hostName = "StuPC";};
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/StuPC-WSL
|
./hosts/StuPC-WSL
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
{
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
];
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.users.sstent = ./home-manager/users/sstent;
|
||||||
|
}
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{ lib, inputs, outputs, pkgs, config, ... }:
|
{ lib, inputs, outputs, pkgs, config, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
inputs.home-manager.nixosModules.home-manager
|
# inputs.home-manager.nixosModules.home-manager
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
]++ (builtins.attrValues outputs.nixosModules);
|
]++ (builtins.attrValues outputs.nixosModules);
|
||||||
|
|
||||||
@@ -38,14 +38,14 @@ config = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
home-manager = {
|
# home-manager = {
|
||||||
useUserPackages = true;
|
# useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit inputs outputs; };
|
# extraSpecialArgs = { inherit inputs outputs; };
|
||||||
sharedModules = [
|
# sharedModules = [
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
# inputs.sops-nix.homeManagerModules.sops
|
||||||
];
|
# ];
|
||||||
imports = [ ../home-manager/users/sstent];
|
|
||||||
};
|
# };
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user