Users, add juri and update automatic start version
This commit is contained in:
parent
5c4a4ef333
commit
7c5bbbe9f4
4 changed files with 71 additions and 1 deletions
38
hosts/juri/hardware.nix
Normal file
38
hosts/juri/hardware.nix
Normal 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
16
hosts/juri/host.nix
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
16
hosts/juri/users/pan/user.nix
Normal file
16
hosts/juri/users/pan/user.nix
Normal 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;
|
||||||
|
}
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
system.stateVersion = "23.05";
|
system.stateVersion = lib.mkDefault "23.05";
|
||||||
|
|
||||||
time.timeZone = config.system.timezone;
|
time.timeZone = config.system.timezone;
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue