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

1454
flake.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -55,8 +55,7 @@
}; };
outputs = { nixpkgs, ... } @ inputs: outputs = { self, nixpkgs, ... } @ inputs: {
{
tokyo-night-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation { tokyo-night-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
@@ -85,9 +84,15 @@
nixosConfigurations.homebox = nixpkgs.lib.nixosSystem { nixosConfigurations.homebox = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; specialArgs = {
inputs = inputs // {
nathan-home-manager = import ./home-manager/default.nix;
tokyo-night-sddm-theme = self.tokyo-night-sddm-theme;
};
};
modules = [ modules = [
./system-config/configuration/homebox ./system-config/configuration/homebox
./system-config
]; ];
}; };

View File

@@ -1,12 +1,12 @@
{ config, lib, ... }: { { config, lib, ... }: {
home.file = { home.file = {
".config/ags" = { source = ./dotfiles/ags; recursive = true; }; ".config/ags" = { source = ./ags; recursive = true; };
".config/hypr" = { source = ./dotfiles/hypr; recursive = true; }; ".config/hypr" = { source = ./hypr; recursive = true; };
".config/swaylock" = { source = ./dotfiles/swaylock; recursive = true; }; ".config/swaylock" = { source = ./swaylock; recursive = true; };
".config/wal/templates" = { source = ./dotfiles/wal/templates; recursive = true; }; ".config/wal/templates" = { source = ./wal/templates; recursive = true; };
".config/wayvnc" = { source = ./dotfiles/wayvnc; recursive = true; }; ".config/wayvnc" = { source = ./wayvnc; recursive = true; };
"Pictures/Wallpaper" = { source = ./dotfiles/Wallpaper; recursive = true; }; "Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
}; };
} }

View File

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

View File

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

View File

@@ -1,7 +1,6 @@
{ config, lib, pkgs, ... }: { { config, lib, pkgs, ... }: {
options.sysconfig.opts.ags.enable = lib.options.mkOption { options.sysconfig.opts.ags.enable = lib.options.mkOption {
type = lib.types.bool; type = lib.types.bool;
default = false; default = false;
}; };