vlc, spotifyd, gnome updates

This commit is contained in:
ringofstorms 2024-04-02 13:31:13 -05:00
parent 0ed9e8ecab
commit 0430319d78
4 changed files with 20 additions and 11 deletions

View file

@ -16,14 +16,11 @@
# Pinned nix version # Pinned nix version
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11"; nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11";
# TODO
# home-manager = { };
}; };
outputs = { self, nypkgs, nixpkgs, ... } @ inputs: outputs = { self, nypkgs, nixpkgs, ... } @ inputs:
let let
nixConfigs = [ myHosts = [
{ {
name = "gpdPocket3"; name = "gpdPocket3";
opts = { opts = {
@ -65,6 +62,7 @@
}; };
in in
{ {
# foldl' is "reduce" where { } is the accumulator and myHosts is the array to reduce on.
nixosConfigurations = builtins.foldl' nixosConfigurations = builtins.foldl'
(acc: nixConfig: (acc: nixConfig:
acc // { acc // {
@ -82,8 +80,6 @@
} // nixConfig.opts; } // nixConfig.opts;
}) })
{ } { }
nixConfigs; myHosts;
# homeConfigurations = { };
}; };
} }

View file

@ -1,6 +1,8 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = [ pkgs.spotifyd ]; # home.packages = [ pkgs.spotifyd ];
# TODO revisit this isn't working for me yet...
services.spotifyd.enable =true;
} }

View file

@ -0,0 +1,4 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.vlc ];
}

View file

@ -1,9 +1,11 @@
{ pkgs, ... }: { pkgs, lib, ... }:
with lib.hm.gvariant;
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
# use `dconf dump /` before and after and diff the files for easy editing of dconf below # 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'` # > `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 (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 # gnome.dconf-editor
# gnomeExtensions.workspace-switch-wraparound # 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 #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 = { dconf = {
enable = true; enable = true;
settings = { settings = {
"org/gnome/desktop/session" = {
idle-delay = mkUint32 0;
};
"org/gnome/shell" = { "org/gnome/shell" = {
favorite-apps = [ favorite-apps = [
# "vivaldi-stable.desktop" # "vivaldi-stable.desktop"
@ -105,7 +110,9 @@
toggle-quick-settings = [ "" ]; toggle-quick-settings = [ "" ];
toggle-application-view = [ "<Super>space" ]; toggle-application-view = [ "<Super>space" ];
}; };
"org/gtk/gtk4/settings/file-chooser" = {
show-hidden = true;
};
}; };
}; };
} }