diff options
| author | spl3g <spleefer6@yandex.ru> | 2023-12-31 15:08:06 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:56:39 +0300 |
| commit | b8a5c62b112859f463a53ac97b43f7f8cdc544a9 (patch) | |
| tree | 8b320bc9631fbd60ffe4b701e6afee148bb2313a /nixos/laptop/configuration.nix | |
| parent | 7db487dba2262af7b7822d110122ff496070ca92 (diff) | |
uhm
Diffstat (limited to 'nixos/laptop/configuration.nix')
| -rw-r--r-- | nixos/laptop/configuration.nix | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix new file mode 100644 index 0000000..948aed6 --- /dev/null +++ b/nixos/laptop/configuration.nix @@ -0,0 +1,47 @@ +{ inputs, outputs, pkgs, ... }: { + # You can import other NixOS modules here + imports = [ + # If you want to use modules your own flake exports (from modules/nixos): + # outputs.nixosModules.example + + # Or modules from other flakes (such as nixos-hardware): + # inputs.hardware.nixosModules.common-cpu-amd + # inputs.hardware.nixosModules.common-ssd + + ../general.nix + ./hardware-configuration.nix + inputs.home-manager.nixosModules.home-manager + ]; + + + time.timeZone = "Europe/Moscow"; + networking.hostName = "ltrr-mini"; + + virtualisation.libvirtd.enable = true; + programs.virt-manager.enable = true; + + services.xserver = { + enable = false; + displayManager.lightdm.enable = false; + }; + + + environment.systemPackages = with pkgs; [ + qemu + ]; + + programs.adb.enable = true; + services.udev.packages = [ + pkgs.android-udev-rules + ]; + + home-manager = { + extraSpecialArgs = { inherit inputs outputs; }; + useGlobalPkgs = true; + useUserPackages = true; + users.jerpo = import ../../home-manager/laptop; + }; + + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion + system.stateVersion = "23.05"; +} |
