do shit
This commit is contained in:
parent
9e6394fb64
commit
46bfe9c7cf
3 changed files with 40 additions and 23 deletions
|
|
@ -6,7 +6,6 @@
|
|||
}:
|
||||
{
|
||||
imports = [
|
||||
./easyroam.nix
|
||||
./stylix.nix
|
||||
./nixvim/nixvim.nix
|
||||
];
|
||||
|
|
|
|||
15
flake.nix
15
flake.nix
|
|
@ -42,7 +42,7 @@
|
|||
{
|
||||
nixosConfigurations.seele = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
|
||||
./easyroam.nix
|
||||
./configuration.nix
|
||||
./nixvim/nixvim.nix
|
||||
nix-easyroam.nixosModules.nix-easyroam
|
||||
|
|
@ -57,9 +57,9 @@
|
|||
}
|
||||
({ lib, ... }: {
|
||||
networking.hostName = lib.mkForce "seele";
|
||||
imports = [
|
||||
./hardware-configuration-laptop.nix
|
||||
];
|
||||
imports = [
|
||||
./hardware-configuration-laptop.nix
|
||||
];
|
||||
|
||||
})
|
||||
|
||||
|
|
@ -80,12 +80,11 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
}
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
|
||||
({ pkgs, lib, ... }: {
|
||||
imports = [
|
||||
./hardware-configuration-desktop.nix
|
||||
];
|
||||
imports = [
|
||||
./hardware-configuration-desktop.nix
|
||||
];
|
||||
networking.hostName = lib.mkForce "nerv";
|
||||
environment.systemPackages = [
|
||||
# For debugging and troubleshooting Secure Boot.
|
||||
|
|
|
|||
|
|
@ -1,31 +1,50 @@
|
|||
# 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, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"nvme"
|
||||
"ahci"
|
||||
"xhci_pci"
|
||||
"usbhid"
|
||||
"usb_storage"
|
||||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/64a37727-0c5f-41d4-afac-dc26978916c1";
|
||||
fsType = "xfs";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/64a37727-0c5f-41d4-afac-dc26978916c1";
|
||||
fsType = "xfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/F424-0E3E";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/F424-0E3E";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0077"
|
||||
"dmask=0077"
|
||||
];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.open = true; # see the note above
|
||||
boot.loader.systemd-boot.configurationLimit = 5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue