restructured flake

This commit is contained in:
willifan 2025-05-30 14:22:14 +02:00
parent 5c7ae091c1
commit bf3bb961f3
100 changed files with 76 additions and 78 deletions

34
modules/nixos/default.nix Normal file
View file

@ -0,0 +1,34 @@
{ lib, config, inputs, hostname, ... }:
{
nixos.enable = true;
imports = [
./desktop
./nixvim
./server
./autoupdate.nix
./boot.nix
./builder.nix
./envvar.nix
./garbage-collect.nix
./keyd.nix
./locales.nix
./mimetype.nix
./networking.nix
./optimise.nix
./options.nix
./packages.nix
./users.nix
];
console.keyMap = "en";
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11";
}