Kieran's opinionated (and probably slightly dumb) nix config

feat: add new host john

dunkirk.sh 11a83efb f8c2852b

verified
Changed files
+48
machines
+13
flake.nix
···
./machines/ember
unstable-overlays
];
+
+
};
+
"john" = home-manager.lib.homeManagerConfiguration {
+
pkgs = nixpkgs.legacyPackages.x86_64-linux;
+
extraSpecialArgs = {
+
inherit inputs outputs;
+
nixpkgs-unstable = nixpkgs-unstable;
+
system = "x86_64-linux";
+
};
+
modules = [
+
./machines/john
+
unstable-overlays
+
];
};
};
+35
machines/john/default.nix
···
+
{
+
inputs,
+
pkgs,
+
...
+
}:
+
{
+
imports = [
+
(inputs.import-tree ../../modules/home)
+
];
+
+
nixpkgs.enable = true;
+
+
home = {
+
username = "klukas";
+
homeDirectory = "/home/students/2029/klukas";
+
+
packages = with pkgs; [ ];
+
};
+
+
atelier = {
+
shell.enable = true;
+
};
+
+
# Enable home-manager
+
programs.home-manager.enable = true;
+
+
# keep hm in .local/state since we are using nix-portable
+
xdg.enable = true;
+
+
# Nicely reload system units when changing configs
+
systemd.user.startServices = "sd-switch";
+
+
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
+
home.stateVersion = "23.05";
+
}