Browse Source

cleanup

master
Martin Klimeš 4 years ago
parent
commit
87d37e0acc
3 changed files with 6 additions and 3 deletions
  1. +1
    -2
      nix/configuration.nix
  2. +2
    -1
      nix/machines/G560.nix
  3. +3
    -0
      nix/user.nix

+ 1
- 2
nix/configuration.nix View File

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

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

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

+ 3
- 0
nix/user.nix View File

@ -48,6 +48,8 @@ in
"sudo nixos-rebuild switch -I nixos-config=/home/klimi/dotfiles/nix/configuration.nix"; "sudo nixos-rebuild switch -I nixos-config=/home/klimi/dotfiles/nix/configuration.nix";
nrb = nrb =
"sudo nixos-rebuild boot -I nixos-config=/home/klimi/dotfiles/nix/configuration.nix"; "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; programs.firefox.enable = true;
home = { home = {
packages = [ packages = [
pkgs.ncat
pkgs.lm_sensors pkgs.lm_sensors
pkgs.dunst pkgs.dunst
pkgs.libnotify pkgs.libnotify

Loading…
Cancel
Save