modularize config
This commit is contained in:
@@ -9,24 +9,8 @@
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
networking.hostName = "Hermes";
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
networking.nameservers = ["1.1.1.1" "1.0.0.1"];
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
users.users.nick = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = ["wheel"];
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
@@ -36,27 +20,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.agenix.packages."${stdenv.hostPlatform.system}".default
|
||||
neovim
|
||||
wget
|
||||
curl
|
||||
git
|
||||
fastfetch
|
||||
rsync
|
||||
starship
|
||||
eza
|
||||
net-tools
|
||||
alejandra
|
||||
nixd
|
||||
yazi
|
||||
dysk
|
||||
tmux
|
||||
btop
|
||||
];
|
||||
|
||||
networking.firewall.enable = true;
|
||||
|
||||
age.identityPaths = [
|
||||
"/etc/ssh/id_ed25519"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user