diff --git a/nixos/hosts/hades/lucy/configuration.nix b/nixos/hosts/hades/lucy/configuration.nix index 2cb5388..ae3cc65 100644 --- a/nixos/hosts/hades/lucy/configuration.nix +++ b/nixos/hosts/hades/lucy/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; @@ -16,13 +16,21 @@ system.stateVersion = "23.05"; # Did you read the comment? # Additional packages - environment.systemPackages = with pkgs; [ ]; + environment.systemPackages = with pkgs; [ + gcc + jq + nuclei + rustup + ]; networking.firewall.allowedTCPPorts = [ ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.loader.efi.efiSysMountPoint = "/boot/efi"; + boot.loader.efi.efiSysMountPoint = "/boot"; + virtualisation.docker.enable = true; + users.extraUsers.laura.extraGroups = [ "wheel" "docker" ]; + users.extraUsers.victor.extraGroups = [ "docker" ]; } diff --git a/nixos/hosts/hades/lucy/hardware-configuration.nix b/nixos/hosts/hades/lucy/hardware-configuration.nix index 5b4f92f..650e74b 100644 --- a/nixos/hosts/hades/lucy/hardware-configuration.nix +++ b/nixos/hosts/hades/lucy/hardware-configuration.nix @@ -8,18 +8,18 @@ [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/96c00816-b297-41f2-bfc1-b8990fc06a7a"; + { device = "/dev/disk/by-uuid/749c02fd-209d-4974-917e-38b749d10ec2"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/CDF3-36C9"; + { device = "/dev/disk/by-uuid/D021-72EB"; fsType = "vfat"; }; @@ -30,7 +30,7 @@ # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; - # networking.interfaces.ens18.useDHCP = lib.mkDefault true; + # networking.interfaces.enp6s18.useDHCP = lib.mkDefault true nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }