refactor(flake, system): improve code structure
Refactor configuration generation - Inherit lib from nixpkgs - Rename functions (mkHome -> makeHome, merge -> forEachHost - Relocate some variables' definitions into config generator functions - Create separate function to track home-manager modules
This commit is contained in:
@@ -84,8 +84,4 @@ in
|
||||
tappingDragLock = false;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
# Something important
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
@@ -1,13 +1,4 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
networking.hostName = "maidena";
|
||||
|
||||
services = {
|
||||
desktopManager.plasma6.enable = true;
|
||||
displayManager.sddm = {
|
||||
|
@@ -1,12 +1,4 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
networking.hostName = "tokishiko";
|
||||
console.keyMap = "no";
|
||||
|
||||
services = {
|
||||
|
Reference in New Issue
Block a user