Merge branch 'flake-parts'
This commit is contained in:
commit
b221fb4781
230 changed files with 609 additions and 878 deletions
47
outputs/nixos/ookst480s/default.nix
Normal file
47
outputs/nixos/ookst480s/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ inputs, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBn3ff3HaZHIyH4K13k8Mwqu/o7jIABJ8rANK+r2PfJk";
|
||||
in
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules
|
||||
];
|
||||
|
||||
|
||||
systemModules.host = {
|
||||
name = "ookst480s";
|
||||
type = "laptop";
|
||||
function = [ "workstation" ];
|
||||
admin = {
|
||||
name = "ooks";
|
||||
shell = "fish";
|
||||
sshKey = key;
|
||||
homeManager = true;
|
||||
};
|
||||
hardware = {
|
||||
cpu.type = "intel";
|
||||
gpu.type = "intel";
|
||||
features = [ "bluetooth" "backlight" "battery" "ssd" ];
|
||||
battery = {
|
||||
powersave = {
|
||||
minFreq = 800;
|
||||
maxFreq = 1800;
|
||||
};
|
||||
performance = {
|
||||
minFreq = 1800;
|
||||
maxFreq = 3600;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||
};
|
||||
|
||||
system.stateVersion = mkDefault "23.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue