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