Home-manager to module

This commit is contained in:
Black_Raven committed 2025-11-25 21:33:52 +03:00
1 parent 3a2ea724c0
commit 1d45ec9cab
52 files changed
+372 -347

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{ lib, inputs, hostname }: {
imports = [
inputs.sops-nix.nixosModules.sops
../${hostname}/hardware-configuration.nix
../../modules/host.nix
./packages.nix
];
options = {
host.laptop = lib.mkEnableOption "laptop mode";
};
config = {
networking.hostName = hostname;
time.timeZone = lib.mkDefault "Europe/Moscow";
i18n.defaultLocale = lib.mkDefault "ru_RU.UTF-8";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "24.05";
};
}