chore: Continue home-manager separation

This commit is contained in:
Donovan Glover 2023-06-16 08:19:22 -04:00
parent 181ea09092
commit b4242e0f55
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
5 changed files with 1087 additions and 1107 deletions

View File

@ -1,10 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
environment.systemPackages = with pkgs; [ home.packages = with pkgs; [ joshuto ];
joshuto
];
home-manager.sharedModules = [
{
xdg.configFile."joshuto/joshuto.toml".text = /* toml */ '' xdg.configFile."joshuto/joshuto.toml".text = /* toml */ ''
[display] [display]
automatically_count_files = true automatically_count_files = true
@ -742,6 +738,4 @@
"zip" = "" "zip" = ""
"zsh" = "" "zsh" = ""
''; '';
}
];
} }

View File

@ -12,11 +12,6 @@ let
}; };
in in
{ {
programs.neovim.enable = true;
programs.npm.enable = true;
home-manager.sharedModules = [
{
programs.bat.enable = true; programs.bat.enable = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -337,6 +332,4 @@ in
snowflake+horsepower+bulkbiceps.1 snowflake+horsepower+bulkbiceps.1
snowflake+horsepower+bulkbiceps.2 snowflake+horsepower+bulkbiceps.2
''; '';
}
];
} }

View File

@ -1,10 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
environment.systemPackages = with pkgs; [ home.packages = with pkgs; [ waycorner ];
waycorner
];
home-manager.sharedModules = [
{
xdg.configFile."waycorner/config.toml".text = /* toml */ '' xdg.configFile."waycorner/config.toml".text = /* toml */ ''
[application_launcher] [application_launcher]
enter_command = [ "hyprctl", "dispatch", "workspace", "empty" ] enter_command = [ "hyprctl", "dispatch", "workspace", "empty" ]
@ -20,6 +16,4 @@
size = 10 size = 10
timeout_ms = 250 timeout_ms = 250
''; '';
}
];
} }

View File

@ -1,6 +1,4 @@
let VARIABLES = import ../../src/variables.nix; in { let VARIABLES = import ../../src/variables.nix; in {
home-manager.sharedModules = [
{
xdg.userDirs = { xdg.userDirs = {
enable = true; enable = true;
@ -16,6 +14,4 @@ let VARIABLES = import ../../src/variables.nix; in {
}; };
xdg.configFile."user-dirs.locale".text = "ja_JP"; xdg.configFile."user-dirs.locale".text = "ja_JP";
}
];
} }

View File

@ -46,6 +46,9 @@ let VARIABLES = import ./variables.nix; in {
boot.tmp.useTmpfs = true; boot.tmp.useTmpfs = true;
programs.neovim.enable = true;
programs.npm.enable = true;
programs.gamemode = { programs.gamemode = {
enable = true; enable = true;
settings = { settings = {