diff --git a/monolith/default.nix b/monolith/default.nix index cfa66c7..eabd951 100644 --- a/monolith/default.nix +++ b/monolith/default.nix @@ -1,12 +1,28 @@ { ... }: { networking = { - hostName = "marauder"; + hostName = "monolith"; networkmanager.enable = true; }; - boot.loader = { - systemd-boot.enable = true; - efi.canTouchEfiVariables = true; + fileSystems = { + "/" = { + device = "/dev/disk/by-uuid/0c335248-f2b4-4a33-86f0-e96cfac82866"; + fsType = "ext4"; + }; + "/boot" = { + device = "/dev/disk/by-uuid/D945-7F54"; + fsType = "vfat"; + options = [ "fmask=0022" "dmask=0022" ]; + }; + }; + + boot = { + loader = { + systemd-boot.enable = true; + efi.canTouchEfiVariables = true; + }; + initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + kernelModules = [ "kvm-amd" ]; }; users.users = { @@ -18,6 +34,29 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; + programs.git = { + enable = true; + lfs.enable = true; + config = { + init.defaultBranch = "master"; + user = { + email = "git@nettika.cat"; + name = "Nettika"; + }; + credential.helper = "store"; + }; + }; + + programs.nano = { + enable = true; + nanorc = '' + set autoindent + set linenumbers + ''; + }; + + services.openssh.enable = true; + time.timeZone = "America/Los_Angeles"; system.stateVersion = "24.05";