cleanup thinky
This commit is contained in:
parent
728dda6714
commit
90c1c13580
3 changed files with 17 additions and 36 deletions
|
@ -19,6 +19,11 @@
|
|||
time.timeZone = "Europe/Warsaw";
|
||||
|
||||
services.thermald.enable = true;
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
algorithm = "zstd";
|
||||
memoryPercent = 50;
|
||||
};
|
||||
fonts.fontconfig.enable = true;
|
||||
home-manager.users.cyryl = {...}: {
|
||||
imports = [
|
||||
|
|
|
@ -13,20 +13,20 @@
|
|||
loader.grub.device = "/dev/sda";
|
||||
};
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/87ea2035-a966-4a06-8b66-e4ac366c3cb9";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/87ea2035-a966-4a06-8b66-e4ac366c3cb9";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."crypt".device = "/dev/disk/by-uuid/8d51b38a-5d90-4a7a-a86a-0d57648fd82d";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/195b3f15-885e-4123-879f-6e4591a58317";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/195b3f15-885e-4123-879f-6e4591a58317";
|
||||
fsType = "ext2";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nix.maxJobs = 2;
|
||||
nix.buildCores = 6;
|
||||
nix.buildCores = 2;
|
||||
}
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
networking.hostName = "thinky";
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest_hardened;
|
||||
initrd.luks.devices."crypt"=
|
||||
{
|
||||
device = "/dev/disk/by-uuid/962caed1-9dd5-4771-9a8f-3d3f5854af2e";
|
||||
preLVM = true;
|
||||
allowDiscards = true;
|
||||
};
|
||||
loader.grub = {
|
||||
device = "/dev/sda";
|
||||
};
|
||||
};
|
||||
time.timeZone = "Europe/Warsaw";
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
../../boot.nix
|
||||
../../common.nix
|
||||
../../gfx-intel.nix
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue