stuff
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
accent = "mauve";
|
||||
};
|
||||
|
||||
gtk.enable = true;
|
||||
|
||||
waybar.enable = false;
|
||||
rofi.enable = false;
|
||||
};
|
||||
|
||||
@@ -8,12 +8,13 @@
|
||||
exec-once = [
|
||||
"waybar"
|
||||
"dunst"
|
||||
"kwalletd6"
|
||||
"nm-applet"
|
||||
"blueman-applet"
|
||||
"swww-daemon"
|
||||
"swayidle -w timeout 300 'hyprlock' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep 'hyprlock'"
|
||||
"swww img $HOME/Bilder/Wallpapers/mountain.jpg"
|
||||
|
||||
"nextcloud"
|
||||
];
|
||||
|
||||
env = [
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
pkgs.wget
|
||||
pkgs.unzip
|
||||
|
||||
pkgs.zathura
|
||||
pkgs.xfce.thunar
|
||||
|
||||
pkgs.nerd-fonts.fira-code
|
||||
pkgs.fira-code
|
||||
pkgs.meslo-lgs-nf
|
||||
@@ -24,11 +27,15 @@
|
||||
pkgs.bat
|
||||
pkgs.ripgrep
|
||||
|
||||
pkgs.seahorse
|
||||
|
||||
pkgs.binutils
|
||||
pkgs.gcc
|
||||
|
||||
pkgs.nil
|
||||
|
||||
pkgs.quickemu
|
||||
|
||||
pkgs.zotero
|
||||
|
||||
(pkgs.aspellWithDicts
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
../../modules/system/audio.nix
|
||||
../../modules/system/printing.nix
|
||||
../../modules/system/docker.nix
|
||||
../../modules/system/gpg.nix
|
||||
../../modules/system/virtualbox.nix
|
||||
];
|
||||
|
||||
networking.hostName = "segfault-machine";
|
||||
|
||||
@@ -13,6 +13,9 @@
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
boot.kernelParams = [ "amd_iommu=on" ];
|
||||
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/5af0ed50-72c4-4bee-8c6e-7b0556cffbc7";
|
||||
fsType = "ext4";
|
||||
@@ -41,5 +44,7 @@
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
services.hardware.bolt.enable = true;
|
||||
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
|
||||
@@ -28,17 +28,6 @@
|
||||
enable = true;
|
||||
keyboards = {
|
||||
internalKeyboard = {
|
||||
devices = [
|
||||
# Replace the paths below with the appropriate device paths for your setup.
|
||||
# Use `ls /dev/input/by-path/` to find your keyboard devices.
|
||||
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.3:1.0-event-kbd"
|
||||
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.4:1.0-event-kbd"
|
||||
"/dev/input/by-path/pci-0000:66:00.0-usb-0:2.4:1.2-event-kbd"
|
||||
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.3:1.0-event-kbd"
|
||||
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.4:1.0-event-kbd"
|
||||
"/dev/input/by-path/pci-0000:66:00.0-usbv2-0:2.4:1.2-event-kbd"
|
||||
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
|
||||
];
|
||||
extraDefCfg = "process-unmapped-keys yes";
|
||||
config = ''
|
||||
(defsrc
|
||||
|
||||
10
modules/system/gpg.nix
Normal file
10
modules/system/gpg.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{pkgs, ...}:
|
||||
|
||||
{
|
||||
services.pcscd.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
||||
14
modules/system/virtualbox.nix
Normal file
14
modules/system/virtualbox.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
virtualisation.virtualbox.host = {
|
||||
enable = true;
|
||||
enableKvm = true;
|
||||
|
||||
enableHardening = false;
|
||||
addNetworkInterface = false;
|
||||
};
|
||||
|
||||
users.extraGroups.vboxusers.members = [ "lukas" ];
|
||||
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||
}
|
||||
Reference in New Issue
Block a user