a lot more changes to get it to work on hpm

This commit is contained in:
Sebastian Moser
2023-10-31 16:14:10 +00:00
parent 197a40364c
commit 91f23c5632
24 changed files with 403 additions and 343 deletions

View File

@@ -1,12 +1,48 @@
{}:
{ inputs, self, secretsDir, specialArgs, ... }:
# config that i use on all my hosts
{
imports = [
inputs.home-manager.nixosModules.home-manager
../mods/my-nixpkgs-overlay.nix
];
home-manager.extraSpecialArgs = specialArgs;
# set root user pwd
users.users.root.passwordFile = "${secretsDir}/main-root-pwd";
# Set your time zone.
time.timeZone = "Europe/Vienna";
users.mutableUsers = false;
# add mybin to path
environment.etc.profile.text = ''
export PATH=$PATH:${self}/mybin
'';
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
home-manager.backupFileExtension = "backup";
security.sudo.wheelNeedsPassword = false;
users.mutableUsers = false;
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
}