Sun Jun 2 02:10:58 PM CEST 2024
This commit is contained in:
parent
27d786142d
commit
d40b3c72b0
|
@ -32,12 +32,9 @@
|
|||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
commonModules = name: [
|
||||
./hosts/${name}/hardware-configuration.nix
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
networking.hostName = name;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
time.timeZone = "Europe/Brussels";
|
||||
|
@ -74,7 +71,7 @@
|
|||
jack.enable = true;
|
||||
};
|
||||
|
||||
users.users.${name} = {
|
||||
users.users.user = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
openssh.authorizedKeys.keys = [
|
||||
|
@ -122,7 +119,7 @@
|
|||
extraSpecialArgs = { inherit inputs; }; # allows access to flake inputs in hm modules
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.${name}= {
|
||||
users.user = {
|
||||
imports = [ ./home.nix ];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue