migration to default.nix success

This commit is contained in:
2025-01-12 10:38:22 -06:00
parent e7ac0a8c26
commit 8521e7d0b4
6 changed files with 181 additions and 1319 deletions

View File

@@ -15,7 +15,6 @@
inputs.home-manager.nixosModules.default
inputs.system.nixosModule
];
boot = {
@@ -206,7 +205,7 @@
extraSpecialArgs = {inherit inputs;};
users = {
"nathan" = lib.mkMerge [
inputs.nathan.homeManagerModule
inputs.nathan-home-manager
{
config.homeconfig = {
impermanence.enable = true;

View File

@@ -5,4 +5,5 @@
./packages
./programs
];
}

View File

@@ -1,16 +1,15 @@
{ config, lib, pkgs, ... }: {
options.sysconfig.opts.ags.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
options.sysconfig.opts.ags.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.sysconfig.opts.ags.enable {
services = {
upower.enable = true;
gvfs.enable = true;
power-profiles-daemon.enable = true;
};
config = lib.mkIf config.sysconfig.opts.ags.enable {
services = {
upower.enable = true;
gvfs.enable = true;
power-profiles-daemon.enable = true;
};
};
}