fix:floorp_config

This commit is contained in:
dichgrem
2025-07-22 16:28:04 +08:00
parent 4b5575dc88
commit 7f5860d2e6
22 changed files with 145 additions and 714 deletions

32
hosts/dos/default.nix Normal file
View 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;
};
};
}