migration to default.nix success
This commit is contained in:
1454
flake.lock
generated
1454
flake.lock
generated
File diff suppressed because it is too large
Load Diff
11
flake.nix
11
flake.nix
@@ -55,8 +55,7 @@
|
||||
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, ... } @ inputs:
|
||||
{
|
||||
outputs = { self, nixpkgs, ... } @ inputs: {
|
||||
|
||||
tokyo-night-sddm-theme = { pkgs }: pkgs.stdenv.mkDerivation {
|
||||
|
||||
@@ -85,9 +84,15 @@
|
||||
|
||||
|
||||
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 = [
|
||||
./system-config/configuration/homebox
|
||||
./system-config
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{ config, lib, ... }: {
|
||||
|
||||
home.file = {
|
||||
".config/ags" = { source = ./dotfiles/ags; recursive = true; };
|
||||
".config/hypr" = { source = ./dotfiles/hypr; recursive = true; };
|
||||
".config/swaylock" = { source = ./dotfiles/swaylock; recursive = true; };
|
||||
".config/wal/templates" = { source = ./dotfiles/wal/templates; recursive = true; };
|
||||
".config/wayvnc" = { source = ./dotfiles/wayvnc; recursive = true; };
|
||||
"Pictures/Wallpaper" = { source = ./dotfiles/Wallpaper; recursive = true; };
|
||||
".config/ags" = { source = ./ags; recursive = true; };
|
||||
".config/hypr" = { source = ./hypr; recursive = true; };
|
||||
".config/swaylock" = { source = ./swaylock; recursive = true; };
|
||||
".config/wal/templates" = { source = ./wal/templates; recursive = true; };
|
||||
".config/wayvnc" = { source = ./wayvnc; recursive = true; };
|
||||
"Pictures/Wallpaper" = { source = ./Wallpaper; recursive = true; };
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -5,4 +5,5 @@
|
||||
./packages
|
||||
./programs
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user