add theseus

This commit is contained in:
Lucy Hochkamp 2024-10-31 17:35:08 +01:00
parent 0d80c86e20
commit 5ff6757c07
No known key found for this signature in database
58 changed files with 399 additions and 291 deletions

46
hosts/theseus/default.nix Normal file
View file

@ -0,0 +1,46 @@
{ config, inputs, pkgs, lib, ... }:
{
imports =
[
./hardware-configuration.nix
../../nixos-modules/networking/tailscale.nix
../../nixos-modules/services/ssh.nix
../../nixos-modules/system/agenix.nix
../../nixos-modules/system/persist.nix
../../nixos-modules/user
];
# Don't Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/4cd8dbb3-8eea-48ff-87b1-92945be291ac";
programs.sway.enable = true;
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
environment.systemPackages = [
pkgs.wezterm
];
home-manager.users.ragon = { pkgs, lib, inputs, config, ... }: {
imports = [
../../hm-modules/helix
../../hm-modules/nushell
../../hm-modules/cli.nix
../../hm-modules/files.nix
];
ragon.helix.enable = true;
ragon.nushell.enable = true;
programs.home-manager.enable = true;
home.stateVersion = "24.05";
};
ragon = {
user.enable = true;
services = {
ssh.enable = true;
tailscale.enable = true;
};
};
}