nix: fix console build
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
fa5765e5f2
commit
a038320587
4 changed files with 8 additions and 20 deletions
|
@ -549,10 +549,11 @@ in
|
||||||
".mozilla/firefox/default/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;
|
".mozilla/firefox/default/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;
|
||||||
|
|
||||||
# Imperative symlinks intended to be synced
|
# Imperative symlinks intended to be synced
|
||||||
"Downloads/stg".source = mkIf config.custom.full (
|
"Downloads/stg" = mkIf config.custom.full {
|
||||||
|
source =
|
||||||
config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink
|
config.home-manager.users.${config.custom.username}.lib.file.mkOutOfStoreSymlink
|
||||||
"/home/myned/SYNC/common/config/extensions/Simple Tab Groups"
|
"/home/myned/SYNC/common/config/extensions/Simple Tab Groups";
|
||||||
);
|
};
|
||||||
|
|
||||||
# Work around icon dissociation due to missing --name flag in actions
|
# Work around icon dissociation due to missing --name flag in actions
|
||||||
# https://github.com/micheleg/dash-to-dock/issues/1968
|
# https://github.com/micheleg/dash-to-dock/issues/1968
|
||||||
|
|
|
@ -22,7 +22,6 @@ in
|
||||||
with pkgs.gnomeExtensions;
|
with pkgs.gnomeExtensions;
|
||||||
optionals config.custom.default [
|
optionals config.custom.default [
|
||||||
{ package = appindicator; } # https://github.com/ubuntu/gnome-shell-extension-appindicator
|
{ package = appindicator; } # https://github.com/ubuntu/gnome-shell-extension-appindicator
|
||||||
|
|
||||||
]
|
]
|
||||||
++ optionals config.custom.minimal [
|
++ optionals config.custom.minimal [
|
||||||
{ package = caffeine; } # https://github.com/eonpatapon/gnome-shell-extension-caffeine
|
{ package = caffeine; } # https://github.com/eonpatapon/gnome-shell-extension-caffeine
|
||||||
|
@ -30,8 +29,8 @@ in
|
||||||
#// { package = dash2dock-lite; } # https://github.com/icedman/dash2dock-lite
|
#// { package = dash2dock-lite; } # https://github.com/icedman/dash2dock-lite
|
||||||
{ package = gsconnect; } # https://github.com/GSConnect/gnome-shell-extension-gsconnect
|
{ package = gsconnect; } # https://github.com/GSConnect/gnome-shell-extension-gsconnect
|
||||||
{ package = just-perfection; } # https://gitlab.gnome.org/jrahmatzadeh/just-perfection
|
{ package = just-perfection; } # https://gitlab.gnome.org/jrahmatzadeh/just-perfection
|
||||||
|
{ package = rounded-window-corners-reborn; } # https://github.com/flexagoon/rounded-window-corners
|
||||||
#// { package = user-themes; } # https://gitlab.gnome.org/GNOME/gnome-shell-extensions
|
#// { package = user-themes; } # https://gitlab.gnome.org/GNOME/gnome-shell-extensions
|
||||||
|
|
||||||
]
|
]
|
||||||
++ optionals config.custom.full [
|
++ optionals config.custom.full [
|
||||||
#// { package = auto-move-windows; } # https://gitlab.gnome.org/GNOME/gnome-shell-extensions
|
#// { package = auto-move-windows; } # https://gitlab.gnome.org/GNOME/gnome-shell-extensions
|
||||||
|
@ -44,17 +43,5 @@ in
|
||||||
{ package = tiling-assistant; } # https://github.com/Leleat/Tiling-Assistant
|
{ package = tiling-assistant; } # https://github.com/Leleat/Tiling-Assistant
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
#!! Installed to user directory until packaged into nixpkgs
|
|
||||||
# https://github.com/flexagoon/rounded-window-corners
|
|
||||||
# TODO: Use extension store version when published
|
|
||||||
# https://extensions.gnome.org/review/55303
|
|
||||||
home.file.".local/share/gnome-shell/extensions/rounded-window-corners@fxgn".source =
|
|
||||||
mkIf config.custom.full pkgs.fetchzip
|
|
||||||
{
|
|
||||||
stripRoot = false;
|
|
||||||
url = "https://extensions.gnome.org/review/download/55303.shell-extension.zip";
|
|
||||||
sha256 = "sha256-cg4/Y0irl5X2D2P/ncYJM0fRbeAgRSfBXmdRoVBY7jo=";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ in
|
||||||
systemd-boot = mkIf cfg.systemd-boot {
|
systemd-boot = mkIf cfg.systemd-boot {
|
||||||
enable = true;
|
enable = true;
|
||||||
configurationLimit = 15;
|
configurationLimit = 15;
|
||||||
consoleMode = cfg.console-mode;
|
consoleMode = mkIf (!isInt cfg.console-mode || cfg.console-mode <= 2) cfg.console-mode;
|
||||||
editor = false; # Disable cmdline
|
editor = false; # Disable cmdline
|
||||||
|
|
||||||
# HACK: consoleMode does not accept undocumented device modes (e.g. 3 4 5)
|
# HACK: consoleMode does not accept undocumented device modes (e.g. 3 4 5)
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
folders = lib.getAttrs [
|
folders = lib.getAttrs [
|
||||||
"SYNC/.ignore"
|
"SYNC/.ignore"
|
||||||
"SYNC/game"
|
"SYNC/game"
|
||||||
] options.custom.syncthing.folders.default;
|
] options.custom.services.syncthing.folders.default;
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in a new issue