Konfigfile aufgeräumt
This commit is contained in:
+32
-30
@@ -1,37 +1,38 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./gnome.nix
|
||||
# ./plasma.nix
|
||||
# ./hyprland.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.enable = true;
|
||||
|
||||
# LUKS Partition
|
||||
boot.initrd.luks.devices = {
|
||||
dukebook0 = {
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
./modules/desktop/gnome.nix
|
||||
# ./modules/desktop/kde.nix
|
||||
# ./modules/desktop/hyprland.nix
|
||||
# ./modules/desktop/niri.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.initrd.enable = true;
|
||||
|
||||
# LUKS Partition
|
||||
boot.initrd.luks.devices = {
|
||||
dukebook0 = {
|
||||
device = "/dev/disk/by-uuid/92d94913-aad0-4a76-9466-c77e481693ba";
|
||||
preLVM = true;
|
||||
};
|
||||
};
|
||||
|
||||
# LVM Volume Mounts
|
||||
fileSystems."/home/martin/Nextcloud" = {
|
||||
preLVM = true;
|
||||
};
|
||||
};
|
||||
|
||||
# LVM Volume Mounts
|
||||
fileSystems."/home/martin/Nextcloud" = {
|
||||
device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
networking.hostName = "dukebook"; # Define your hostname.
|
||||
# Pick only one of the below networking options.
|
||||
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
@@ -40,6 +41,7 @@
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
programs.dconf.enable = true;
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
@@ -55,7 +57,7 @@
|
||||
# Enable Gnome3 Keyring
|
||||
# services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
# Enable CUPS to print documents.2
|
||||
services.printing.enable = true;
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user