dustbowl: add nixos-hardware
This commit is contained in:
parent
df71b120b8
commit
3df12aafe3
3 changed files with 27 additions and 2 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -18,6 +18,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1760106635,
|
||||
"narHash": "sha256-2GoxVaKWTHBxRoeUYSjv0AfSOx4qw5CWSFz2b+VolKU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "9ed85f8afebf2b7478f25db0a98d0e782c0ed903",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "master",
|
||||
"repo": "nixos-hardware",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1759036355,
|
||||
|
|
@ -54,6 +70,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-bitwig": "nixpkgs-bitwig"
|
||||
}
|
||||
|
|
|
|||
10
flake.nix
10
flake.nix
|
|
@ -7,8 +7,9 @@
|
|||
flake = false;
|
||||
};
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
|
||||
outputs = { self, nixpkgs, nixpkgs-bitwig, flake-utils }:
|
||||
outputs = { self, nixpkgs, nixpkgs-bitwig, flake-utils, nixos-hardware }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = import nixpkgs {
|
||||
|
|
@ -81,7 +82,12 @@
|
|||
privilegeEscalationCommand = [ "doas" ];
|
||||
};
|
||||
|
||||
imports = [ (import ./nixos/dustbowl.nix { nixpkgs = nixpkgs; }) ];
|
||||
imports = [
|
||||
(import ./nixos/dustbowl.nix { nixpkgs = nixpkgs; })
|
||||
nixos-hardware.nixosModules.asus-battery
|
||||
nixos-hardware.nixosModules.common-pc-laptop
|
||||
nixos-hardware.nixosModules.common-cpu-intel
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -140,6 +140,8 @@
|
|||
openrgb
|
||||
];
|
||||
|
||||
hardware.asus.battery.chargeUpto = 80;
|
||||
|
||||
# Configure console
|
||||
console = {
|
||||
font = "Lat2-Terminus16";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue