mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-25 16:08:30 +02:00
cleanup and restructuring
This commit is contained in:
parent
706220f980
commit
8b2ea66132
17 changed files with 85 additions and 97 deletions
|
@ -9,8 +9,6 @@
|
|||
./modules/nextcloud
|
||||
./modules/vaultwarden
|
||||
./modules/nginx
|
||||
../../shared/vim.nix
|
||||
../../shared/sops.nix
|
||||
];
|
||||
|
||||
boot = {
|
||||
|
@ -22,7 +20,6 @@
|
|||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
|
@ -50,7 +47,7 @@
|
|||
# ../../keys/ssh/rouven-smartcard
|
||||
];
|
||||
|
||||
system.stateVersion = "22.11"; # Did you read the comment?
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -51,13 +51,6 @@
|
|||
swapDevices =
|
||||
[{ device = "/dev/disk/by-uuid/fdedb47c-a370-4005-ac37-1c186e667de0"; }];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
networking = {
|
||||
hostName = "nuc"; # Define your hostname.
|
||||
hostId = "795a4952";
|
||||
hostName = "nuc";
|
||||
useNetworkd = true;
|
||||
};
|
||||
systemd.network = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue