import some things i forgot to + set passwords

This commit is contained in:
minish 2024-12-27 17:56:59 -05:00
parent a5c08a100a
commit 00c368e282
Signed by: min
SSH Key Fingerprint: SHA256:NFjjdbkd6u7aoMlcrDCVvz6o2UBtlAuPm8IQ2vhZ3Fg
4 changed files with 18 additions and 11 deletions

View File

@ -35,7 +35,7 @@
flake = let
hosts = import ./hosts {inherit inputs;};
in {
inherit (hosts) nixosConfigurations homeConfigurations;
inherit (hosts) nixosConfigurations;
};
systems = ["x86_64-linux"];

5
homes/min/default.nix Normal file
View File

@ -0,0 +1,5 @@
{pkgs, ...}: {
home.packages = [pkgs.fastfetch];
home.stateVersion = "24.11";
}

View File

@ -21,15 +21,11 @@
};
}
# ../modules
../modules
];
};
})
systems);
makeHomeConfigurations = systems:
builtins.throw "todo";
in {
nixosConfigurations = makeNixosConfigurations systems;
homeConfigurations = makeHomeConfigurations systems;
}

View File

@ -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