Reinstall party

This commit is contained in:
Jakob Lechner 2022-11-04 22:40:17 +00:00
parent da5a194655
commit 7f2e0ea8e9
No known key found for this signature in database
GPG key ID: 996082EFB5906C10
2 changed files with 40 additions and 5 deletions

View file

@ -6,19 +6,27 @@
./services
];
nixpkgs.config = { allowAliases = false; };
console.keyMap = "de";
services.xserver.layout = "de";
services.xserver.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm = {
enable = true;
autoSuspend = false;
};
security.sudo.wheelNeedsPassword = false;
users.users.party = {
isNormalUser = true;
password = "foobar";
extraGroups = [ "wheel" ];
extraGroups = [
"wheel"
"audio"
];
};
environment.systemPackages = with pkgs; [

View file

@ -21,18 +21,45 @@
loader.grub = {
enable = true;
version = 2;
device = "/dev/sda";
};
};
fileSystems = {
"/" = {
device = "/dev/sda3";
device = "/dev/disk/by-uuid/740450af-f376-48d1-9a0c-25a035964700";
fsType = "btrfs";
options = [ "discard=async" "noatime" "compress=zstd" ];
options = [
"subvol=root"
"discard=async"
"compress=zstd"
];
};
"/home" = {
device = "/dev/disk/by-uuid/740450af-f376-48d1-9a0c-25a035964700";
fsType = "btrfs";
options = [
"subvol=home"
"discard=async"
"compress=zstd"
];
};
"/nix" = {
device = "/dev/disk/by-uuid/740450af-f376-48d1-9a0c-25a035964700";
fsType = "btrfs";
options = [
"subvol=nix"
"discard=async"
"compress=zstd"
"noatime"
];
};
"/boot" = {
device = "/dev/sda2";
device = "/dev/disk/by-uuid/3e24b5cf-e59f-41b1-9eef-107f808b9242";
fsType = "ext2";
};
};