Files
dotfiles/common/all.nix
Sebastian Moser 919673e994 ...
2025-06-19 10:32:25 +02:00

53 lines
1.3 KiB
Nix

{ lib, inputs, self, secretsDir, specialArgs, ... }:
# config that i use on all my hosts
{
imports = [
#../mods/my-nixpkgs-overlay.nix
];
home-manager.extraSpecialArgs = specialArgs;
programs.dconf.enable = true;
# set root user pwd
users.users.root.password = "changeme";
# Set your time zone.
time.timeZone = "Europe/Vienna";
# add mybin to path
environment.etc.profile.text = ''
export PATH=$PATH:${self}/mybin
'';
nix.settings = {
experimental-features = lib.mkDefault "nix-command flakes";
trusted-users = [ "root" "@wheel" ];
};
nixpkgs.config.allowUnfree = true;
home-manager.backupFileExtension = "backup";
security.sudo.wheelNeedsPassword = false;
users.mutableUsers = true;
nix.channel.enable = false;
services.openssh.settings.GatewayPorts = "clientspecified";
# 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?
}