snowfall migration wip framework12 config
This commit is contained in:
parent
aaf4ff29c4
commit
0994847b4e
10 changed files with 3860 additions and 60 deletions
68
systems/x86_64-linux/kylekrein-framework12/default.nix
Normal file
68
systems/x86_64-linux/kylekrein-framework12/default.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
namespace,
|
||||
system,
|
||||
target,
|
||||
format,
|
||||
virtual,
|
||||
systems,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
niri-config = {
|
||||
programs.niri = {
|
||||
settings = {
|
||||
#input.power-key-handling.enable = true;
|
||||
spawn-at-startup = [
|
||||
{
|
||||
command = [
|
||||
"${lib.getExe pkgs.brightnessctl}"
|
||||
"-s 20%"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
in
|
||||
with lib;
|
||||
with lib.custom; {
|
||||
facter.reportPath = ./facter.json;
|
||||
systemd.network.wait-online.enable = lib.mkForce false; #facter
|
||||
|
||||
custom.hardware.hibernation = {
|
||||
enable = true;
|
||||
swapFileOffset = 533760;
|
||||
};
|
||||
custom.presets.disko.impermanenceBtrfsLuks = {
|
||||
enable = true;
|
||||
swapSize = 64;
|
||||
};
|
||||
custom.hardware.framework12 = enabled;
|
||||
custom.hardware.secureBoot = enabled;
|
||||
custom.impermanence = enabled;
|
||||
custom.presets.workstation = enabled;
|
||||
custom.presets.gaming = enabled;
|
||||
custom.windowManagers.niri = enabled;
|
||||
custom.loginManagers.sddm = enabled;
|
||||
custom.services.ai = {
|
||||
enable = true;
|
||||
models = ["qwq" "llama3.1" "qwen2.5-coder:7b" "gpt-oss:20b"];
|
||||
};
|
||||
custom.users.kylekrein = {
|
||||
enable = true;
|
||||
config = niri-config;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
blender
|
||||
nix-schemas
|
||||
];
|
||||
#Chat host
|
||||
networking.firewall.allowedTCPPorts = [80 443 22 8448 9993 8081];
|
||||
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
system.stateVersion = "25.05";
|
||||
# ======================== DO NOT CHANGE THIS ========================
|
||||
}
|
||||
3582
systems/x86_64-linux/kylekrein-framework12/facter.json
Executable file
3582
systems/x86_64-linux/kylekrein-framework12/facter.json
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue