This commit is contained in:
Léana 江 2024-01-04 12:40:49 +01:00 committed by Léana 江
parent bc479e1cac
commit 78a82fbe18
20 changed files with 282 additions and 224 deletions

View file

@ -1,7 +1,6 @@
{ ... }: {
{...}: {
age = {
identityPaths = [ "/home/leana/.ssh/id_ed25519" ];
identityPaths = ["/home/leana/.ssh/id_ed25519"];
secrets.sshconcfig = {
file = ../../secrets/sshconfig.age;
path = "/home/leana/.ssh/config";
@ -13,5 +12,4 @@
secrets.wireguard_priv.file = ../../secrets/wireguard_priv.age;
secrets.wireguard_psk.file = ../../secrets/wireguard_psk.age;
};
}

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{pkgs, ...}: {
sound = {
enable = true;
mediaKeys.enable = true;
@ -12,5 +12,5 @@
jack.enable = true;
};
environment.systemPackages = with pkgs; [ helvum pavucontrol easyeffects ];
environment.systemPackages = with pkgs; [helvum pavucontrol easyeffects];
}

View file

@ -1,4 +1,4 @@
{ ... }: {
{...}: {
services.xserver.enable = true;
services.xserver = {
@ -11,7 +11,7 @@
windowManager.xmonad = {
enable = true;
enableContribAndExtras = true;
extraPackages = hp: with hp; [ neat-interpolation ];
extraPackages = hp: with hp; [neat-interpolation];
};
};
@ -20,7 +20,7 @@
naturalScrolling = true;
accelSpeed = "-0.5";
};
touchpad = { naturalScrolling = true; };
touchpad = {naturalScrolling = true;};
};
programs.light.enable = true;

View file

@ -1,33 +1,37 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/7810e3a3-fed9-4c2d-8a39-a6063d0863cf";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/7810e3a3-fed9-4c2d-8a39-a6063d0863cf";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-a80f77f5-9c77-4730-aa0b-2a496c32f44b".device = "/dev/disk/by-uuid/a80f77f5-9c77-4730-aa0b-2a496c32f44b";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/E63B-47B3";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/E63B-47B3";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/2fd42520-5c2c-4d64-82ba-613033d34799"; }
];
swapDevices = [
{device = "/dev/disk/by-uuid/2fd42520-5c2c-4d64-82ba-613033d34799";}
];
# 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

View file

@ -1 +1 @@
{ ... }: { virtualisation.docker.enable = true; }
{...}: {virtualisation.docker.enable = true;}