mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
fix:floorp_config
This commit is contained in:
32
hosts/dos/default.nix
Normal file
32
hosts/dos/default.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
username,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
[
|
||||
./hardware.nix
|
||||
]
|
||||
++ lib.filesystem.listFilesRecursive ../../modules;
|
||||
|
||||
# Define users
|
||||
# If use nixos-anywhere to install, hashedPassword should be declared before installation
|
||||
users = {
|
||||
# users.root = {
|
||||
# hashedPassword = "xxxxxx"; could be generated by mkpasswd
|
||||
# };
|
||||
users."${username}" = {
|
||||
extraGroups = [
|
||||
"libvirtd"
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
# hashedPassword = "";
|
||||
homeMode = "755";
|
||||
ignoreShellProgramCheck = true;
|
||||
isNormalUser = true;
|
||||
shell = pkgs.nushell;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user