This commit is contained in:
Schrottkatze 2025-12-03 13:12:31 +01:00
commit 3cb7360f5e
No known key found for this signature in database
7 changed files with 73 additions and 51 deletions

View file

@ -1,45 +1,74 @@
# Do not modify this file! It was generated by nixos-generate-config # Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes # and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead. # to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: {
config,
lib,
pkgs,
modulesPath,
...
}:
{ {
imports = imports = [
[ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci_renesas" "xhci_pci" "rtsx_pci_sdmmc" ]; boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci_renesas"
"xhci_pci"
"rtsx_pci_sdmmc"
];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/mapper/luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122"; device = "/dev/mapper/luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@" ]; options = [
}; "subvol=@"
"compress=zstd:3"
];
};
boot.initrd.luks.devices."luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122".device = "/dev/disk/by-uuid/9cd75cce-6829-4db8-8c5c-a9fb9ec3e122"; boot.initrd.luks.devices."luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122".device =
"/dev/disk/by-uuid/9cd75cce-6829-4db8-8c5c-a9fb9ec3e122";
fileSystems."/swap" = fileSystems."/swap" = {
{ device = "/dev/mapper/luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122"; device = "/dev/mapper/luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@/@swap" ]; options = [
}; "subvol=@/@swap"
"noatime"
];
};
fileSystems."/home" = fileSystems."/home" = {
{ device = "/dev/mapper/luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122"; device = "/dev/mapper/luks-9cd75cce-6829-4db8-8c5c-a9fb9ec3e122";
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=@home" ]; options = [
}; "subvol=@home"
"compress=zstd:3"
];
};
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/C6CA-5DE8"; device = "/dev/disk/by-uuid/C6CA-5DE8";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [
}; "fmask=0022"
"dmask=0022"
];
};
swapDevices = [ ]; swapDevices = [
{
device = "/swap/swapfile";
size = 1024 * 24;
}
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;

View file

@ -15,7 +15,7 @@
intel-vaapi-driver intel-vaapi-driver
intel-compute-runtime intel-compute-runtime
libvdpau-va-gl libvdpau-va-gl
mesa.drivers mesa
]; ];
}; };
} }

View file

@ -18,18 +18,16 @@ with lib;
}; };
config.services = { config.services = {
displayManager = { displayManager = {
gdm = {
enable = true;
banner = "Meow :3";
autoLogin.delay = cfg.autoLogin.delay;
};
autoLogin = { autoLogin = {
enable = cfg.autoLogin.enable; enable = cfg.autoLogin.enable;
user = "jade"; user = "jade";
}; };
defaultSession = "niri"; defaultSession = "niri";
}; };
xserver.displayManager.gdm = {
enable = true;
banner = "Meow :3";
autoLogin = {
delay = cfg.autoLogin.delay;
};
};
}; };
} }

View file

@ -16,7 +16,6 @@ let
hash = "sha256-SzAuVFEy56svasO3+1p6ysBRrIQd0UZX++/P4ZuwWm0="; hash = "sha256-SzAuVFEy56svasO3+1p6ysBRrIQd0UZX++/P4ZuwWm0=";
}; };
useFetchCargoVendor = true;
cargoHash = "sha256-QVxlkE+sq4U048LnshI/tq6HInKiSgjQLAdR+27/wEI="; cargoHash = "sha256-QVxlkE+sq4U048LnshI/tq6HInKiSgjQLAdR+27/wEI=";
meta = with lib; { meta = with lib; {

View file

@ -10,11 +10,12 @@
hide-after-inactive-ms = 10000; hide-after-inactive-ms = 10000;
}; };
animations.window-open.easing = { # animations.window-open = {
curve = "linear"; # kind = "easing";
duration-ms = 230; # curve = "linear";
}; # duration-ms = 230;
animations.shaders.window-open = builtins.readFile ./shaders/glitch-open.frag; # };
# animations.window-open.custom-shader = builtins.readFile ./shaders/glitch-open.frag;
layout = { layout = {
gaps = 15; # :GAPS:- gaps = %GAPS%;-:# gaps = 15; # :GAPS:- gaps = %GAPS%;-:#

View file

@ -15,7 +15,6 @@ let
rev = "4480c4eda223b98899b0fbd926bc34f7bd0e1a18"; rev = "4480c4eda223b98899b0fbd926bc34f7bd0e1a18";
sha256 = "sha256-BxSrphgW1n465FX6bKVkq6O0XE2JqanfSYlsGwWUWkQ="; sha256 = "sha256-BxSrphgW1n465FX6bKVkq6O0XE2JqanfSYlsGwWUWkQ=";
}; };
useFetchCargoVendor = true;
cargoHash = "sha256-O1rJ48m8Q7kZABw/UNpmUT7FFBWQedo6CuV+NX9kDt8="; cargoHash = "sha256-O1rJ48m8Q7kZABw/UNpmUT7FFBWQedo6CuV+NX9kDt8=";
nativeBuildInputs = [ pkgs.pkg-config ]; nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.libevdev ]; buildInputs = [ pkgs.libevdev ];

View file

@ -14,15 +14,11 @@
{ {
programs.git = { programs.git = {
enable = true; enable = true;
userName = "Schrottkatze"; settings = {
userEmail = "git@schrottkatze.de"; user = {
aliases = { name = "Schrottkatze";
a = "add"; email = "git@schrottkatze.de";
c = "commit"; };
ca = "commit --all";
p = "push";
pl = "pull";
s = "status";
}; };
signing = { signing = {
format = "ssh"; format = "ssh";