import some things i forgot to + set passwords
This commit is contained in:
parent
a5c08a100a
commit
00c368e282
|
@ -35,7 +35,7 @@
|
|||
flake = let
|
||||
hosts = import ./hosts {inherit inputs;};
|
||||
in {
|
||||
inherit (hosts) nixosConfigurations homeConfigurations;
|
||||
inherit (hosts) nixosConfigurations;
|
||||
};
|
||||
|
||||
systems = ["x86_64-linux"];
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = [pkgs.fastfetch];
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
}
|
|
@ -21,15 +21,11 @@
|
|||
};
|
||||
}
|
||||
|
||||
# ../modules
|
||||
../modules
|
||||
];
|
||||
};
|
||||
})
|
||||
systems);
|
||||
|
||||
makeHomeConfigurations = systems:
|
||||
builtins.throw "todo";
|
||||
in {
|
||||
nixosConfigurations = makeNixosConfigurations systems;
|
||||
homeConfigurations = makeHomeConfigurations systems;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{...}: {
|
||||
{config, ...}: {
|
||||
imports = [
|
||||
./audio.nix
|
||||
./bootloader.nix
|
||||
./disk-config.nix
|
||||
./hardware.nix
|
||||
./mounts.nix
|
||||
./nebula.nix
|
||||
./secrets.nix
|
||||
];
|
||||
|
||||
|
@ -27,10 +28,15 @@
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.min = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"]; # Enable ‘sudo’ for the user.
|
||||
# Define a user account.
|
||||
users.users = {
|
||||
root.hashedPasswordFile = config.sops.secrets."root-pw".path;
|
||||
|
||||
min = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"]; # Enable ‘sudo’ for the user.
|
||||
hashedPasswordFile = config.sops.secrets."user-pw".path;
|
||||
};
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
|
|
Loading…
Reference in New Issue