refactor: move common hosts config into 'modules/common.nix'

This commit is contained in:
2025-12-03 14:31:23 +01:00
parent 9d095ffb7e
commit 7f3a7c5543
4 changed files with 13 additions and 27 deletions

View File

@@ -10,9 +10,8 @@ let
username = "h";
in
{
system.stateVersion = "25.05";
imports = [
../../modules/common.nix
inputs.disko.nixosModules.disko
inputs.sops-nix.nixosModules.sops
inputs.home-manager.nixosModules.default
@@ -38,13 +37,6 @@ in
environment.systemPackages = [ inputs.nvim.packages.x86_64-linux.nvim ];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nixpkgs.config.allowUnfree = true;
disko = {
devices.disk.main.device = "/dev/vda";
devices.disk.main.imageName = "nixos-vm";