task | formating updates
This commit is contained in:
parent
16ae54de7e
commit
9050e73d27
4 changed files with 21 additions and 29 deletions
|
|
@ -4,25 +4,24 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ];
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "xhci_pci" "nvme" "usb_storage" "sd_mod" "sr_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/e0e211d5-30a0-4b9e-b1ba-971cdd7a4d23";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/e0e211d5-30a0-4b9e-b1ba-971cdd7a4d23";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/6957-B177";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/6957-B177";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
|
|
@ -34,5 +33,6 @@
|
|||
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.cpu.intel.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,20 +2,16 @@
|
|||
with lib;
|
||||
let cfg = config.roles.kmscon;
|
||||
in {
|
||||
options.roles.kmscon = {
|
||||
enable = mkEnableOption "roles kmscon";
|
||||
};
|
||||
options.roles.kmscon = { enable = mkEnableOption "roles kmscon"; };
|
||||
config = mkIf cfg.enable {
|
||||
services = {
|
||||
kmscon = {
|
||||
enable = true;
|
||||
fonts = [
|
||||
{
|
||||
fonts = [{
|
||||
# name = "Source Code Pro";
|
||||
name = "FiraCode Nerd Font Mono";
|
||||
package = pkgs.nerd-fonts.fira-code;
|
||||
}
|
||||
];
|
||||
}];
|
||||
extraConfig = ''
|
||||
font-size=18
|
||||
palette=custom
|
||||
|
|
@ -31,7 +27,7 @@ in {
|
|||
palette-red=255, 149, 128
|
||||
palette-white=248, 248, 242
|
||||
palette-yellow=255, 255, 128
|
||||
'';
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -50,9 +50,7 @@ in {
|
|||
};
|
||||
check-nic = {
|
||||
description = "Adjust tailscale MTU based on location";
|
||||
unitConfig = {
|
||||
Type = "simple";
|
||||
};
|
||||
unitConfig = { Type = "simple"; };
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
Environment =
|
||||
|
|
|
|||
|
|
@ -2,11 +2,9 @@
|
|||
with lib;
|
||||
let cfg = config.roles.wine;
|
||||
in {
|
||||
options.roles.wine = {
|
||||
enable = mkEnableOption "roles wine";
|
||||
};
|
||||
options.roles.wine = { enable = mkEnableOption "roles wine"; };
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.don.home.packages = with pkgs; [
|
||||
home-manager.users.don.home.packages = with pkgs; [
|
||||
# wineWowPackages.stable
|
||||
wineWowPackages.waylandFull
|
||||
winetricks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue