2024-03-02 17:17:52 +01:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
outputs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
2024-03-02 17:48:50 +01:00
|
|
|
}: let
|
|
|
|
vars = import ../../vars.nix;
|
|
|
|
in {
|
2024-03-02 17:17:52 +01:00
|
|
|
imports = [
|
|
|
|
inputs.hardware.nixosModules.common-pc-ssd
|
|
|
|
inputs.disko.nixosModules.default
|
|
|
|
|
|
|
|
./hardware-configuration.nix
|
2024-03-03 12:15:40 +01:00
|
|
|
(import ../../disko/btrfs-swap.nix {device = "/dev/nvme0n1";})
|
2024-03-02 17:17:52 +01:00
|
|
|
|
|
|
|
../common/global
|
|
|
|
|
|
|
|
../common/optional/systemd-boot.nix
|
|
|
|
../common/optional/gnome-keyring.nix
|
|
|
|
../common/optional/docker.nix
|
|
|
|
];
|
|
|
|
|
2024-03-02 17:48:50 +01:00
|
|
|
users.mutableUsers = true;
|
|
|
|
users.users.${vars.user}.password = "changeme";
|
|
|
|
|
2024-03-02 17:17:52 +01:00
|
|
|
nix.extraOptions = ''
|
|
|
|
download-speed = 4000
|
|
|
|
'';
|
|
|
|
|
|
|
|
nixpkgs = {
|
|
|
|
overlays = [
|
|
|
|
outputs.overlays.additions
|
|
|
|
outputs.overlays.modifications
|
|
|
|
outputs.overlays.unstable-packages
|
|
|
|
];
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hostName = "franz";
|
|
|
|
|
|
|
|
programs = {
|
|
|
|
dconf.enable = true;
|
|
|
|
};
|
|
|
|
|
2024-03-02 17:41:16 +01:00
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings.PasswordAuthentication = true;
|
|
|
|
settings.KbdInteractiveAuthentication = true;
|
|
|
|
};
|
|
|
|
|
2024-03-02 17:17:52 +01:00
|
|
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|