format files

This commit is contained in:
Vinzenz Schroeter 2023-08-27 13:34:38 +02:00
parent be2290371c
commit bc73a316f1
3 changed files with 47 additions and 37 deletions

View file

@ -38,8 +38,8 @@
... ...
}: { }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
gnome.gpaste gnome.gpaste
amberol amberol
]; ];
}; };
} }

29
kde.nix
View file

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{ {
config,
pkgs,
...
}: {
services = { services = {
# Enable the KDE Plasma Desktop Environment. # Enable the KDE Plasma Desktop Environment.
xserver = { xserver = {
@ -9,21 +11,18 @@
}; };
}; };
home-manager.users.vinzenz = {
config,
home-manager.users.vinzenz = { pkgs,
config, ...
pkgs, }: {
... home = {
}: { packages = with pkgs; [
home = { ];
packages = with pkgs; [ };
]; services.kdeconnect = {
};
services.kdeconnect = {
enable = true; enable = true;
indicator = true; indicator = true;
}; };
}; };
} }

View file

@ -1,37 +1,48 @@
{ config, lib, pkgs, modulesPath, ... }:
{ {
imports = config,
[ (modulesPath + "/installer/scan/not-detected.nix") lib,
]; pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = { boot = {
initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; # "usb_storage" initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod"]; # "usb_storage"
initrd.kernelModules = [ ]; initrd.kernelModules = [];
kernelModules = [ "kvm-amd" ]; kernelModules = ["kvm-amd"];
extraModulePackages = [ ]; extraModulePackages = [];
loader.efi.efiSysMountPoint = "/boot"; loader.efi.efiSysMountPoint = "/boot";
}; };
fileSystems = { fileSystems = {
"/" = "/" = {
{ device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8"; device = "/dev/disk/by-uuid/0e9c983a-e733-447e-8181-f41d6670c4b8";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@" ]; options = ["subvol=@"];
}; };
"/boot" = "/boot" = {
{ device = "/dev/disk/by-uuid/AF67-8F16"; device = "/dev/disk/by-uuid/AF67-8F16";
fsType = "vfat"; fsType = "vfat";
}; };
"/sdmanjaro" = {
device = "/dev/disk/by-uuid/b6b4c0b8-4b16-4a72-a18d-d7923a2bb532";
fsType = "btrfs";
options = ["subvol=@"];
};
"/sdmanjaro/home" = {
device = "/dev/disk/by-uuid/b6b4c0b8-4b16-4a72-a18d-d7923a2bb532";
fsType = "btrfs";
options = ["subvol=home"];
};
}; };
fileSystems."/sdmanjaro" = swapDevices = [];
{ device = "/dev/disk/by-uuid/b6b4c0b8-4b16-4a72-a18d-d7923a2bb532";
fsType = "btrfs";
options = [ "subvol=@" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's