Add foureighty
This commit is contained in:
parent
773c2ceb39
commit
e02c35d76e
4 changed files with 39 additions and 3 deletions
32
nixos/boxes/foureighty.nix
Normal file
32
nixos/boxes/foureighty.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
networking.hostName = "foureighty";
|
||||
boot = {
|
||||
initrd.kernelModules = [ "i915" ];
|
||||
initrd.luks.devices = [
|
||||
{
|
||||
name = "root";
|
||||
device = "/dev/disk/by-uuid/a9e8a44f-15be-4844-a0a1-46892cc5e44e";
|
||||
preLVM = true;
|
||||
allowDiscards = true;
|
||||
}];
|
||||
loader.grub = {
|
||||
device = "nodev";
|
||||
efiSupport = true;
|
||||
};
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/London";
|
||||
|
||||
hardware.bumblebee.enable = true;
|
||||
hardware.bumblebee.connectDisplay = true;
|
||||
|
||||
imports = [
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
../boot.nix
|
||||
../common.nix
|
||||
];
|
||||
}
|
|
@ -26,7 +26,7 @@ in
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget git zsh gnupg curl tmux python36Packages.glances vim htop atop
|
||||
wget git zsh gnupg curl tmux python36Packages.glances vim htop atop firefox
|
||||
];
|
||||
|
||||
i18n.defaultLocale = "en_GB.UTF-8";
|
||||
|
@ -85,6 +85,7 @@ in
|
|||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
|
||||
sound.enable = true;
|
||||
networking.networkmanager.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
hardware.u2f.enable = true;
|
||||
hardware.brightnessctl.enable = true;
|
||||
|
@ -93,6 +94,6 @@ in
|
|||
|
||||
nix.gc.automatic = true;
|
||||
system.autoUpgrade.enable = true;
|
||||
system.stateVersion = "18.09";
|
||||
system.stateVersion = "19.03";
|
||||
}
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.xserver.videoDrivers = [ "intel" ];
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
|
@ -19,4 +20,4 @@
|
|||
};
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@ echo "using $DIR as the top level directory"
|
|||
cd $DIR
|
||||
git submodule update --init --recursive
|
||||
|
||||
ln -vfs "$DIR/.gitconfig.linux.private" ~/.gitconfig
|
||||
|
||||
mkdir -p ~/.config/Code/User
|
||||
ln -vfs "$DIR/.config/Code/User/settings.json" ~/.config/Code/User/settings.json
|
||||
ln -vfs "$DIR/.config/Code/User/keybindings.json" ~/.config/Code/User/keybindings.json
|
||||
|
|
Loading…
Reference in a new issue