Compare commits
6 Commits
8f71ce170f
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| b9d78079d2 | |||
| 07b9b65382 | |||
| 58bbf942d8 | |||
| aeee74c4ad | |||
| 5bcfe2dc8b | |||
| ae327d6d22 |
13
default.nix
13
default.nix
@@ -8,6 +8,8 @@
|
||||
|
||||
imports = [ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
|
||||
(import ./disko.nix { device1 = "/dev/nvme0n1"; device2 = "/dev/nvme1n1"; device3 = "/dev/sda"; })
|
||||
];
|
||||
|
||||
config = {
|
||||
@@ -34,7 +36,6 @@
|
||||
};
|
||||
|
||||
hardware.nvidia = {
|
||||
enabled = true;
|
||||
open = true;
|
||||
modesetting.enable = true;
|
||||
nvidiaPersistenced = true;
|
||||
@@ -53,16 +54,24 @@
|
||||
};
|
||||
|
||||
sysconfig = {
|
||||
|
||||
docker.nvidia = true;
|
||||
|
||||
remoteBuildClient = false;
|
||||
|
||||
users = {
|
||||
nathan = {
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
isSuperuser = true;
|
||||
extraGroups = [ "networkmanager" "docker" ];
|
||||
ssh.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAsU69CxfQk58CvItPN426h5Alnpb60SH37wet97Vb57 nathan@laptop"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEnUhN2uHwAJF/SLRX3wlGRmfhV3zpP88JQAYB+gh8jW nathan@localhost"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
hashedPasswordFile = config.sops.secrets."nathan/pass".path;
|
||||
home-manager = {
|
||||
enable = true;
|
||||
standalone = false;
|
||||
extraModules = [
|
||||
{
|
||||
homeconfig = {
|
||||
|
||||
Reference in New Issue
Block a user