mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 04:40:05 +00:00
⚗️🚧 (modules/flake) Update easy-hosts config and flake module args
This commit is contained in:
parent
ecfbc9baf6
commit
e54b87a835
10 changed files with 85 additions and 49 deletions
|
@ -1,30 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
self,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ inputs.easy-hosts.flakeModule ];
|
||||
|
||||
easyHosts = {
|
||||
autoConstruct = true;
|
||||
path = ../systems;
|
||||
|
||||
shared.modules = [
|
||||
../homes
|
||||
];
|
||||
|
||||
perClass =
|
||||
class:
|
||||
{
|
||||
modules = [
|
||||
"${self}/modules/${class}"
|
||||
|
||||
(lib.optionals (class == "nixos") [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
])
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -7,18 +7,20 @@
|
|||
./hardware.nix
|
||||
];
|
||||
|
||||
# Todo: pass a set of users to enable from within easy-hosts and automatically map the corresponding home-manager configurations
|
||||
# ${namespace} = {
|
||||
# mainUser = "jo";
|
||||
# users = [ "jo" ];
|
||||
# };
|
||||
users.users.jo.isNormalUser = true;
|
||||
users.users.jo.initialPassword = "balls";
|
||||
users.users.jo.createHome = true;
|
||||
|
||||
# Enable Plasma6
|
||||
services.xserver.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
# Todo: pass a set of users to enable from within easy-hosts and automatically map the corresponding home-manager configurations
|
||||
# Register "jo" as a user
|
||||
users.users.jo.isNormalUser = true;
|
||||
users.users.jo.extraGroups = [ "dialout" "docker" ];
|
||||
users.users.jo.initialPassword = "balls";
|
||||
users.users.jo.createHome = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ghostty
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue