Compare commits

...

4 commits

Author SHA1 Message Date
Schrottkatze
26760c8404
add german ntp pool servers 2025-12-03 13:15:04 +01:00
Schrottkatze
95ef6f5986
add helix utility binds 2025-12-03 13:15:04 +01:00
Schrottkatze
3cb7360f5e
bweh 2025-12-03 13:12:31 +01:00
Schrottkatze
268cf2ce9b
unfuck lix 2025-12-03 13:12:09 +01:00
11 changed files with 101 additions and 162 deletions

View file

@ -5,14 +5,14 @@
pkgs, pkgs,
lib, lib,
niri, niri,
lix-module, # lix-module,
rs-programs, rs-programs,
... ...
}: }:
with lib; with lib;
with builtins; with builtins;
{ {
imports = [ lix-module.nixosModules.default ]; # imports = [ lix-module.nixosModules.default ];
environment = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs; [
@ -76,6 +76,19 @@ with builtins;
hardware.graphics.enable = true; hardware.graphics.enable = true;
nixpkgs.overlays = [
(final: prev: {
inherit (prev.lixPackageSets.stable)
nixpkgs-review
nix-eval-jobs
nix-fast-build
colmena
;
})
];
nix.package = pkgs.lixPackageSets.stable.lix;
services = { services = {
systemd-lock-handler.enable = true; systemd-lock-handler.enable = true;
openssh = { openssh = {
@ -108,6 +121,12 @@ with builtins;
services.chrony = { services.chrony = {
enable = true; enable = true;
enableNTS = true; enableNTS = true;
servers = [
"0.de.pool.ntp.org"
"1.de.pool.ntp.org"
"2.de.pool.ntp.org"
"3.de.pool.ntp.org"
];
serverOption = "offline"; serverOption = "offline";
extraFlags = [ "-s" ]; extraFlags = [ "-s" ];
extraConfig = "makestep 1 -1"; extraConfig = "makestep 1 -1";

91
flake.lock generated
View file

@ -228,39 +228,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flakey-profile": {
"locked": {
"lastModified": 1712898590,
"narHash": "sha256-FhGIEU93VHAChKEXx905TSiPZKga69bWl1VB37FK//I=",
"owner": "lf-",
"repo": "flakey-profile",
"rev": "243c903fd8eadc0f63d205665a92d4df91d42d9d",
"type": "github"
},
"original": {
"owner": "lf-",
"repo": "flakey-profile",
"type": "github"
}
},
"fromYaml": { "fromYaml": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -316,43 +283,6 @@
"type": "github" "type": "github"
} }
}, },
"lix": {
"flake": false,
"locked": {
"lastModified": 1763408228,
"narHash": "sha256-5zdqDsaVKHheZQyLEUgmH3J6YO7V53HAEj+BkzO0Cd4=",
"rev": "7d46e9db7ec1fa02f3b1b9a7dc24fbc43e7b821d",
"type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/7d46e9db7ec1fa02f3b1b9a7dc24fbc43e7b821d.tar.gz?rev=7d46e9db7ec1fa02f3b1b9a7dc24fbc43e7b821d"
},
"original": {
"type": "tarball",
"url": "https://git.lix.systems/lix-project/lix/archive/main.tar.gz"
}
},
"lix-module": {
"inputs": {
"flake-utils": "flake-utils",
"flakey-profile": "flakey-profile",
"lix": [
"lix"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1761960361,
"narHash": "sha256-FvuAw56NIVJpS3Kr8Wv9PpU4eehZMcdIVkxjStuYmqc=",
"rev": "c47f62187601ea2991b79a9bacdbfdf76cd29fbe",
"type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/c47f62187601ea2991b79a9bacdbfdf76cd29fbe.tar.gz?rev=c47f62187601ea2991b79a9bacdbfdf76cd29fbe"
},
"original": {
"type": "tarball",
"url": "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz"
}
},
"niri": { "niri": {
"inputs": { "inputs": {
"niri-stable": "niri-stable", "niri-stable": "niri-stable",
@ -625,8 +555,6 @@
"crane": "crane", "crane": "crane",
"fenix": "fenix", "fenix": "fenix",
"home-manager": "home-manager", "home-manager": "home-manager",
"lix": "lix",
"lix-module": "lix-module",
"niri": "niri", "niri": "niri",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
@ -694,7 +622,7 @@
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nur": "nur", "nur": "nur",
"systems": "systems_2", "systems": "systems",
"tinted-foot": "tinted-foot", "tinted-foot": "tinted-foot",
"tinted-kitty": "tinted-kitty", "tinted-kitty": "tinted-kitty",
"tinted-schemes": "tinted-schemes", "tinted-schemes": "tinted-schemes",
@ -745,21 +673,6 @@
"type": "github" "type": "github"
} }
}, },
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": { "tinted-foot": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -848,7 +761,7 @@
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_3",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
"rust-manifest": "rust-manifest", "rust-manifest": "rust-manifest",
"systems": "systems_3" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1739736913, "lastModified": 1739736913,

View file

@ -10,23 +10,6 @@
typst-within.url = "github:schrottkatze/typst"; typst-within.url = "github:schrottkatze/typst";
crane.url = "github:ipetkov/crane"; crane.url = "github:ipetkov/crane";
nixcord.url = "github:kaylorben/nixcord"; nixcord.url = "github:kaylorben/nixcord";
# lix-module = {
# url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.0.tar.gz";
# url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
# inputs.nixpkgs.follows = "nixpkgs";
# };
#
lix = {
url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
flake = false;
};
lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
inputs.lix.follows = "lix";
};
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -43,7 +26,6 @@
nixpkgs, nixpkgs,
nixpkgs-stable, nixpkgs-stable,
nixpkgs-unstable-small, nixpkgs-unstable-small,
lix-module,
typst-within, typst-within,
home-manager, home-manager,
nixos-hardware, nixos-hardware,
@ -90,7 +72,6 @@
pkgs-unstable-small pkgs-unstable-small
pkgs-stable pkgs-stable
rs-programs rs-programs
lix-module
niri niri
; ;
}; };
@ -129,7 +110,6 @@
pkgs-unstable-small pkgs-unstable-small
pkgs-stable pkgs-stable
rs-programs rs-programs
lix-module
niri niri
; ;
}; };

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

@ -11,6 +11,11 @@
S-tab = "move_parent_node_start"; S-tab = "move_parent_node_start";
A-S = "@S[\\s]+<ret>"; A-S = "@S[\\s]+<ret>";
"'" = { "'" = {
E = "@ D%sev ERROR ";
e = "@ d%sev ERROR ";
W = "@ D%sev WARN ";
w = "@ d%sev WARN ";
D = "@<C-w>sgd"; D = "@<C-w>sgd";
F = "@<C-w>sgy"; F = "@<C-w>sgy";
d = "@<C-w>vgd"; d = "@<C-w>vgd";

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";