Add some packages

This commit is contained in:
Jérémie SALVI
2025-09-25 23:05:08 +02:00
parent 18491dd596
commit 47160768ee
5 changed files with 12 additions and 5 deletions

View File

@@ -10,9 +10,10 @@
content = {
type = "gpt";
partitions = {
ESP = {
EFI = {
size = "512M";
type = "EF00";
name = "EFI";
content = {
type = "filesystem";
format = "vfat";
@@ -23,6 +24,7 @@
SYS = {
size = "100%";
type = "8309";
name = "SYS";
content = {
type = "luks";
name = "rootfs";

View File

@@ -5,13 +5,14 @@
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@@ -8,13 +8,13 @@
interfaces.enp1s0 = {
ipv4.addresses = [
{
address = "192.168.122.100";
address = "192.168.0.2";
prefixLength = 24;
}
];
};
defaultGateway = {
address = "192.168.122.1";
address = "192.168.0.254";
interface = "enp1s0";
};
nameservers = [

View File

@@ -15,7 +15,10 @@
pkgs.unzip
pkgs.sops
pkgs.ssh-to-age
pkgs.nixos-anywhere
pkgs.nixos-generators
pkgs.efibootmgr
pkgs.gptfdisk
];
services = {
locate = {

View File

@@ -22,6 +22,7 @@
pkgs.papirus-icon-theme
pkgs.catppuccin-cursors
pkgs.catppuccin-gtk
pkgs.vscodium
];
fonts.packages = [
pkgs.nerd-fonts.dejavu-sans-mono