diff --git a/flake.nix b/flake.nix index 880869a..e6cc695 100644 --- a/flake.nix +++ b/flake.nix @@ -16,14 +16,11 @@ # Pinned nix version nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11"; - - # TODO - # home-manager = { }; }; outputs = { self, nypkgs, nixpkgs, ... } @ inputs: let - nixConfigs = [ + myHosts = [ { name = "gpdPocket3"; opts = { @@ -64,7 +61,8 @@ usersDir = ./users; }; in - { + { + # foldl' is "reduce" where { } is the accumulator and myHosts is the array to reduce on. nixosConfigurations = builtins.foldl' (acc: nixConfig: acc // { @@ -82,8 +80,6 @@ } // nixConfig.opts; }) { } - nixConfigs; - - # homeConfigurations = { }; + myHosts; }; } diff --git a/users/josh/by_hosts/joe/spotifyd.nix b/users/josh/by_hosts/joe/spotifyd.nix index 286b949..f7511d8 100644 --- a/users/josh/by_hosts/joe/spotifyd.nix +++ b/users/josh/by_hosts/joe/spotifyd.nix @@ -1,6 +1,8 @@ { pkgs, ... }: { - home.packages = [ pkgs.spotifyd ]; + # home.packages = [ pkgs.spotifyd ]; +# TODO revisit this isn't working for me yet... + services.spotifyd.enable =true; } diff --git a/users/josh/by_hosts/joe/vlc.nix b/users/josh/by_hosts/joe/vlc.nix new file mode 100644 index 0000000..e27a054 --- /dev/null +++ b/users/josh/by_hosts/joe/vlc.nix @@ -0,0 +1,4 @@ +{ pkgs, ... }: +{ + home.packages = [ pkgs.vlc ]; +} diff --git a/users/josh/programs/de/gnome.nix b/users/josh/programs/de/gnome.nix index 9510da7..57a3b2b 100644 --- a/users/josh/programs/de/gnome.nix +++ b/users/josh/programs/de/gnome.nix @@ -1,9 +1,11 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: +with lib.hm.gvariant; { home.packages = with pkgs; [ # use `dconf dump /` before and after and diff the files for easy editing of dconf below # > `dconf dump / > /tmp/dconf_dump_start && watch -n0.5 'dconf dump / > /tmp/dconf_dump_current && diff --color /tmp/dconf_dump_start /tmp/dconf_dump_current -U12'` # OR (Must be logged into user directly, no SU to user will work): `dconf watch /` + # OR get the exact converted config from `dconf dump / | dconf2nix | less` and search with forward slash # gnome.dconf-editor # gnomeExtensions.workspace-switch-wraparound #gnomeExtensions.forge # probably don't need on this on tiny laptop but may explore this instead of sway for my desktop @@ -12,6 +14,9 @@ dconf = { enable = true; settings = { + "org/gnome/desktop/session" = { + idle-delay = mkUint32 0; + }; "org/gnome/shell" = { favorite-apps = [ # "vivaldi-stable.desktop" @@ -105,7 +110,9 @@ toggle-quick-settings = [ "" ]; toggle-application-view = [ "space" ]; }; + "org/gtk/gtk4/settings/file-chooser" = { + show-hidden = true; + }; }; }; } -