Martin Klimeš 5 anni fa
parent
commit
87d37e0acc
3 ha cambiato i file con 6 aggiunte e 3 eliminazioni
  1. +1
    -2
      nix/configuration.nix
  2. +2
    -1
      nix/machines/G560.nix
  3. +3
    -0
      nix/user.nix

+ 1
- 2
nix/configuration.nix Vedi File

@ -30,8 +30,7 @@ in {
# Linux kernel Latest
boot.kernelPackages = pkgs.linuxPackages_latest;
# Use the GRUB 2 boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
# boot.loader.grub.efiSupport = true;
# boot.loader.grub.efiInstallAsRemovable = true;
# boot.loader.efi.efiSysMountPoint = "/boot/efi";

+ 2
- 1
nix/machines/G560.nix Vedi File

@ -1,5 +1,6 @@
{ config, pkgs, ... }:
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
}

+ 3
- 0
nix/user.nix Vedi File

@ -48,6 +48,8 @@ in
"sudo nixos-rebuild switch -I nixos-config=/home/klimi/dotfiles/nix/configuration.nix";
nrb =
"sudo nixos-rebuild boot -I nixos-config=/home/klimi/dotfiles/nix/configuration.nix";
un =
"NIXPKGS_ALLOW_UNFREE=1 ";
};
@ -86,6 +88,7 @@ in
programs.firefox.enable = true;
home = {
packages = [
pkgs.ncat
pkgs.lm_sensors
pkgs.dunst
pkgs.libnotify

Caricamento…
Annulla
Salva