mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 17:54:08 -05:00
Require user to import their own home.nix
This commit is contained in:
parent
974b3e2d48
commit
6c34c8f62e
3 changed files with 10 additions and 3 deletions
|
|
@ -1,6 +1,5 @@
|
|||
{lib, config, ...}: {
|
||||
imports = [
|
||||
./user.nix
|
||||
./home.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
{ lib, config, ...}: {
|
||||
users.users.crow = lib.mkIf config.users.crow.enable {
|
||||
config.users.users.crow = lib.mkIf config.users.crow.enable {
|
||||
isNormalUser = true;
|
||||
initialPassword = "changeme";
|
||||
extraGroups = [ "wheel" "networkmanager" "audio" ];
|
||||
};
|
||||
|
||||
config.home-manager.users.crow = lib.mkIf config.users.crow.home.enable ./crow/home.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
{
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
./crow
|
||||
];
|
||||
|
||||
config.home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue