mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
ref: nix
This commit is contained in:
parent
bc479e1cac
commit
78a82fbe18
20 changed files with 282 additions and 224 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{ ... }: { virtualisation.docker.enable = true; }
|
||||
{...}: {virtualisation.docker.enable = true;}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue