whoops - improving?
This commit is contained in:
parent
f66b6aded8
commit
8ad60588c3
19 changed files with 30 additions and 29 deletions
|
|
@ -1,22 +0,0 @@
|
|||
{ self, inputs, ... }: {
|
||||
|
||||
flake.nixosModules.hadesConfiguration = { pkgs, lib, ... }: {
|
||||
# import any other modules from here
|
||||
imports = [
|
||||
self.nixosModules.hadesHardware
|
||||
self.nixosModules.niri
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
# peripherals & Input
|
||||
input-remapper # Input control
|
||||
razergenie # Razer frontend
|
||||
openrazer-daemon # Razer daemon
|
||||
openrgb-with-all-plugins # RGB control
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
@ -1,7 +1,23 @@
|
|||
{ self, inputs, ... }: {
|
||||
flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
self.nixosModules.hadesConfiguration
|
||||
];
|
||||
};
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hardware
|
||||
./network
|
||||
./radeon
|
||||
];
|
||||
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
|
||||
|
||||
networking.hostName = "hades";
|
||||
|
||||
security.tpm2.enable = true;
|
||||
|
||||
# for SSD/NVME
|
||||
services.fstrim.enable = true;
|
||||
|
||||
}
|
||||
|
|
|
|||
0
modules/hosts/hades/hardware.nix
Normal file
0
modules/hosts/hades/hardware.nix
Normal file
0
modules/hosts/hades/network.nix
Normal file
0
modules/hosts/hades/network.nix
Normal file
0
modules/hosts/hades/radeon.nix
Normal file
0
modules/hosts/hades/radeon.nix
Normal file
Loading…
Add table
Add a link
Reference in a new issue