Compare commits
3 commits
a4494f566b
...
44e2429b4c
| Author | SHA1 | Date | |
|---|---|---|---|
| 44e2429b4c | |||
| af5251bf42 | |||
| 78d717bfef |
2 changed files with 19 additions and 22 deletions
|
|
@ -5,8 +5,9 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
boot = {
|
||||
loader = {
|
||||
# Use grub boot loader
|
||||
boot.loader = {
|
||||
systemd-boot.enable = false;
|
||||
grub = {
|
||||
enable = true;
|
||||
|
|
@ -19,6 +20,11 @@
|
|||
canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
# I need systemd for tpm luks unlocking
|
||||
initrd.systemd.enable = true;
|
||||
};
|
||||
|
||||
security.tpm2.enable = true;
|
||||
|
||||
networking.hostName = "SurfaceGo"; # Define your hostname.
|
||||
networking.networkmanager.enable = true; # Enable networking
|
||||
|
|
|
|||
|
|
@ -1,12 +1,9 @@
|
|||
# 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, ... }:
|
||||
|
||||
{
|
||||
/*imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];*/
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
|
|
@ -39,12 +36,6 @@
|
|||
options = [ "subvol=@home" "compress=zstd" ];
|
||||
};
|
||||
|
||||
/*fileSystems."/swap" = {
|
||||
device = "/dev/disk/by-uuid/19a52b40-3ff6-47ff-9402-18d8b289643e";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@swapfile" ];
|
||||
};*/
|
||||
|
||||
fileSystems."/boot/efi" = {
|
||||
device = "/dev/disk/by-uuid/EC76-201F";
|
||||
fsType = "vfat";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue