refactor(flake-parts): initial flake-parts configuration
This commit is contained in:
parent
8f67be9e68
commit
5603001d65
230 changed files with 380 additions and 717 deletions
|
|
@ -1,40 +0,0 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.hardware.nixosModules.lenovo-thinkpad-t480s
|
||||
./hardware-configuration.nix
|
||||
../../profiles
|
||||
];
|
||||
|
||||
activeProfiles = ["base"];
|
||||
|
||||
systemModules = {
|
||||
user = {
|
||||
ooks.enable = true;
|
||||
shell = "fish";
|
||||
};
|
||||
hardware = {
|
||||
cpu.type = "intel";
|
||||
gpu.type = "intel";
|
||||
features = [ "bluetooth" "backlight" "battery" ];
|
||||
battery = {
|
||||
powersave = {
|
||||
minFreq = 800;
|
||||
maxFreq = 1800;
|
||||
};
|
||||
performance = {
|
||||
minFreq = 1800;
|
||||
maxFreq = 3600;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
hostName = "ookst480s";
|
||||
};
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue