Users, add juri and update automatic start version

This commit is contained in:
Julia Lange 2025-03-12 22:30:33 -07:00
parent 5c4a4ef333
commit 7c5bbbe9f4
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ
4 changed files with 71 additions and 1 deletions

38
hosts/juri/hardware.nix Normal file
View file

@ -0,0 +1,38 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ ];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9a4fe059-6451-49b3-adec-be4a2c9c6bd9";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5483-A6C8";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/96deb154-1888-43e2-9b64-9f7b30b82626"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
virtualisation.hypervGuest.enable = true;
}

16
hosts/juri/host.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, ... }:
{
imports = [
./hardware.nix
];
system.stateVersion = "24.11";
system.timezone = "America/Los_Angeles";
system.users.bigWheels = [ "pan" ];
shell.enabledShells = [ "fish" ];
shell.defaultShell = "fish";
sshd.enable = true;
}

View file

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
fish.enable = true;
git = {
enable = true;
username = "Julia Lange";
email = "public@julialange.org";
};
neovim = {
enable = true;
themes.catppuccin.enable = true;
};
lf.enable = true;
zoxide.enable = true;
}