@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [[ "$EUID" -ne 0 ]]; then
|
||||
echo "Please run the script as root."
|
||||
exit 1
|
||||
|
@@ -13,8 +13,6 @@
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
programs.zsh.initExtra = builtins.readFile ./backup.completion.zsh;
|
||||
}
|
||||
{ programs.zsh.initExtra = builtins.readFile ./backup.completion.zsh; }
|
||||
];
|
||||
}
|
||||
|
@@ -14,9 +14,5 @@
|
||||
config.environment.persistence."/persist"."/var/lib/bluetooth".mount
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
services.mpris-proxy.enable = config.services.pipewire.enable;
|
||||
}
|
||||
];
|
||||
home-manager.sharedModules = [ { services.mpris-proxy.enable = config.services.pipewire.enable; } ];
|
||||
}
|
||||
|
@@ -1,3 +1,6 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "Starting impermanence mount with source: $source, target: $target, path: $path."
|
||||
|
||||
source_current="$source"
|
||||
|
@@ -1,3 +1,6 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "Stopping impermanence mount with source: $source, target: $target, path: $path."
|
||||
|
||||
source_current="$source"
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
delete_subvolume_recursively() {
|
||||
IFS=$'\n'
|
||||
for i in $(btrfs subvolume list -o "$1" | cut -f 9- -d ' '); do
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [[ "${EUID}" -ne 0 ]]; then
|
||||
echo "Please run the script as root."
|
||||
exit 1
|
||||
|
@@ -15,8 +15,6 @@
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
programs.zsh.initExtra = builtins.readFile ./install.completion.zsh;
|
||||
}
|
||||
{ programs.zsh.initExtra = builtins.readFile ./install.completion.zsh; }
|
||||
];
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 flake -m install|repair -h host [-k key] [-p password_file] [-c] [-r]"
|
||||
echo
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
SEARCH_STRINGS=(
|
||||
"Mouse"
|
||||
"Razer DeathAdder V3 HyperSpeed"
|
||||
@@ -6,8 +8,9 @@ SEARCH_STRINGS=(
|
||||
for search_string in "${SEARCH_STRINGS[@]}"; do
|
||||
echo "Searching for devices matching: $search_string"
|
||||
|
||||
for f in $(grep -l "$search_string" /sys/bus/usb/devices/*/product 2>/dev/null | sed "s/product/power\\/control/"); do
|
||||
echo "Setting power control to 'on' for: $f"
|
||||
echo on >| "$f"
|
||||
grep -l "$search_string" /sys/bus/usb/devices/*/product 2>/dev/null | sed "s/product/power\\/control/" | while IFS= read -r device
|
||||
do
|
||||
echo "Setting power control to 'on' for: $device"
|
||||
echo on >| "$device"
|
||||
done
|
||||
done
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
case "$2" in
|
||||
connectivity-change)
|
||||
if timezone=$(curl --fail https://ipapi.co/timezone); then
|
||||
|
@@ -38,8 +38,6 @@ lib.mkMerge [
|
||||
|
||||
sessionVariables.DOCKER_CONFIG = "${home}/.config/docker";
|
||||
};
|
||||
|
||||
programs.vscode.languages.docker.enable = true;
|
||||
};
|
||||
}
|
||||
(lib.mkIf rootless {
|
||||
@@ -54,7 +52,5 @@ lib.mkMerge [
|
||||
];
|
||||
};
|
||||
})
|
||||
(lib.mkIf (!rootless) {
|
||||
users.users.${user}.extraGroups = [ "docker" ];
|
||||
})
|
||||
(lib.mkIf (!rootless) { users.users.${user}.extraGroups = [ "docker" ]; })
|
||||
]
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
git interpret-trailers --if-exists doNothing --trailer \
|
||||
"Signed-off-by: $(git config user.name) <$(git config user.email)>" \
|
||||
--in-place "$1"
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
install -d -m 700 "$GNUPGHOME"
|
||||
|
||||
KEYS="$HOME/.config/sops-nix/secrets/gpg"
|
||||
|
@@ -9,9 +9,7 @@
|
||||
programs.dconf.enable = true;
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
backupFileExtension = "bak";
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
|
@@ -20,9 +20,7 @@
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = [ ];
|
||||
};
|
||||
devShells.default = pkgs.mkShell { packages = [ ]; };
|
||||
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
}
|
||||
|
@@ -99,9 +99,7 @@
|
||||
'';
|
||||
|
||||
"direnv/direnv.toml".source = (
|
||||
(pkgs.formats.toml { }).generate "direnv.toml" {
|
||||
global.warn_timeout = 0;
|
||||
}
|
||||
(pkgs.formats.toml { }).generate "direnv.toml" { global.warn_timeout = 0; }
|
||||
);
|
||||
};
|
||||
};
|
||||
|
@@ -13,7 +13,5 @@
|
||||
config.environment.persistence."/persist"."${home}/.config/sops-nix/key.txt".source;
|
||||
home.sessionVariables.SOPS_AGE_KEY_FILE =
|
||||
config.environment.persistence."/persist"."${home}/.config/sops-nix/key.txt".source;
|
||||
|
||||
programs.vscode.languages.sops.enable = true;
|
||||
};
|
||||
}
|
||||
|
@@ -1,10 +1,10 @@
|
||||
import { App } from "astal/gtk3"
|
||||
import Bar from "./widget/Bar"
|
||||
import { monitorFile } from "astal/file"
|
||||
import { exec } from "astal/process"
|
||||
import GLib from "gi://GLib"
|
||||
import { App } from "astal/gtk3";
|
||||
import Bar from "./widget/Bar";
|
||||
import { monitorFile } from "astal/file";
|
||||
import { exec } from "astal/process";
|
||||
import GLib from "gi://GLib";
|
||||
|
||||
const HOME = GLib.getenv("HOME")
|
||||
const HOME = GLib.getenv("HOME");
|
||||
const css = `${HOME}/.config/astal/theme.css`;
|
||||
const scss = `${HOME}/.config/astal/theme.sass`;
|
||||
|
||||
@@ -18,6 +18,6 @@ exec(`sassc ${scss} ${css}`);
|
||||
App.start({
|
||||
css,
|
||||
main() {
|
||||
App.get_monitors().map(Bar)
|
||||
App.get_monitors().map(Bar);
|
||||
},
|
||||
})
|
||||
});
|
||||
|
@@ -1,26 +1,26 @@
|
||||
export const SRC: string
|
||||
export const SRC: string;
|
||||
|
||||
declare module "inline:*" {
|
||||
const content: string
|
||||
export default content
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.scss" {
|
||||
const content: string
|
||||
export default content
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.sass" {
|
||||
const content: string
|
||||
export default content
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.blp" {
|
||||
const content: string
|
||||
export default content
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
||||
declare module "*.css" {
|
||||
const content: string
|
||||
export default content
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
|
@@ -7,6 +7,6 @@
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "Bundler",
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "astal/gtk3",
|
||||
"jsxImportSource": "astal/gtk3"
|
||||
}
|
||||
}
|
||||
|
@@ -1,13 +1,12 @@
|
||||
import { App, Astal, Gtk, Gdk } from 'astal/gtk3'
|
||||
import Launcher from './components/Launcher';
|
||||
import Workspace from './components/Workspaces';
|
||||
import Date from './components/Date';
|
||||
import Systray from './components/Tray';
|
||||
import { App, Astal, Gtk, Gdk } from "astal/gtk3";
|
||||
import Launcher from "./components/Launcher";
|
||||
import Workspace from "./components/Workspaces";
|
||||
import Date from "./components/Date";
|
||||
import Systray from "./components/Tray";
|
||||
import Hyprland from "gi://AstalHyprland";
|
||||
|
||||
const anchor = Astal.WindowAnchor.TOP
|
||||
| Astal.WindowAnchor.LEFT
|
||||
| Astal.WindowAnchor.RIGHT;
|
||||
const anchor =
|
||||
Astal.WindowAnchor.TOP | Astal.WindowAnchor.LEFT | Astal.WindowAnchor.RIGHT;
|
||||
|
||||
const hyprland = Hyprland.get_default();
|
||||
|
||||
@@ -20,22 +19,25 @@ function getHyprlandMonitor(gdkmonitor: Gdk.Monitor) {
|
||||
}
|
||||
}
|
||||
|
||||
export default (monitor: Gdk.Monitor) => <window
|
||||
className='bar'
|
||||
gdkmonitor={monitor}
|
||||
exclusivity={Astal.Exclusivity.EXCLUSIVE}
|
||||
anchor={anchor}
|
||||
application={App}>
|
||||
<centerbox className='widgets'>
|
||||
<box hexpand halign={Gtk.Align.START}>
|
||||
<Launcher />
|
||||
<Workspace monitor={getHyprlandMonitor(monitor)!} />
|
||||
</box>
|
||||
<box hexpand halign={Gtk.Align.CENTER}>
|
||||
<Date />
|
||||
</box>
|
||||
<box hexpand halign={Gtk.Align.END}>
|
||||
<Systray />
|
||||
</box>
|
||||
</centerbox>
|
||||
</window>
|
||||
export default (monitor: Gdk.Monitor) => (
|
||||
<window
|
||||
className="bar"
|
||||
gdkmonitor={monitor}
|
||||
exclusivity={Astal.Exclusivity.EXCLUSIVE}
|
||||
anchor={anchor}
|
||||
application={App}
|
||||
>
|
||||
<centerbox className="widgets">
|
||||
<box hexpand halign={Gtk.Align.START}>
|
||||
<Launcher />
|
||||
<Workspace monitor={getHyprlandMonitor(monitor)!} />
|
||||
</box>
|
||||
<box hexpand halign={Gtk.Align.CENTER}>
|
||||
<Date />
|
||||
</box>
|
||||
<box hexpand halign={Gtk.Align.END}>
|
||||
<Systray />
|
||||
</box>
|
||||
</centerbox>
|
||||
</window>
|
||||
);
|
||||
|
@@ -1,13 +1,13 @@
|
||||
import { Variable } from "astal/variable";
|
||||
import { GLib } from "astal";
|
||||
|
||||
import { Variable } from 'astal/variable';
|
||||
import { GLib } from 'astal';
|
||||
const time = Variable<string>("").poll(
|
||||
1000,
|
||||
() => GLib.DateTime.new_now_local().format("%H:%M - %A, %d %B %Y")!,
|
||||
);
|
||||
|
||||
const time = Variable<string>("").poll(1000, () => GLib.DateTime.new_now_local().format('%H:%M - %A, %d %B %Y')!)
|
||||
|
||||
export default () => <button className='date'>
|
||||
<label
|
||||
className='label'
|
||||
onDestroy={() => time.drop()}
|
||||
label={time()}
|
||||
/>
|
||||
</button>;
|
||||
export default () => (
|
||||
<button className="date">
|
||||
<label className="label" onDestroy={() => time.drop()} label={time()} />
|
||||
</button>
|
||||
);
|
||||
|
@@ -1,7 +1,12 @@
|
||||
import { execAsync } from "astal/process"
|
||||
import { execAsync } from "astal/process";
|
||||
|
||||
export default () => <button
|
||||
className="launcher"
|
||||
onClickRelease={() => execAsync('bash -c "rofi -cache-dir $XDG_CACHE_HOME/rofi -show drun"')}>
|
||||
<icon className="icon" icon="nix-snowflake-symbolic" />;
|
||||
</button>;
|
||||
export default () => (
|
||||
<button
|
||||
className="launcher"
|
||||
onClickRelease={() =>
|
||||
execAsync('bash -c "rofi -cache-dir $XDG_CACHE_HOME/rofi -show drun"')
|
||||
}
|
||||
>
|
||||
<icon className="icon" icon="nix-snowflake-symbolic" />;
|
||||
</button>
|
||||
);
|
||||
|
@@ -1,25 +1,28 @@
|
||||
import { App } from 'astal/gtk3'
|
||||
import { bind } from 'astal'
|
||||
import Tray from 'gi://AstalTray'
|
||||
import { App } from "astal/gtk3";
|
||||
import { bind } from "astal";
|
||||
import Tray from "gi://AstalTray";
|
||||
|
||||
const tray = Tray.get_default()
|
||||
const tray = Tray.get_default();
|
||||
|
||||
const TrayButton = ({ item }: { item: Tray.TrayItem }) => (
|
||||
<menubutton
|
||||
className='item'
|
||||
tooltipMarkup={bind(item, 'tooltipMarkup')}
|
||||
className="item"
|
||||
tooltipMarkup={bind(item, "tooltipMarkup")}
|
||||
usePopover={false}
|
||||
menuModel={bind(item, 'menuModel')}
|
||||
actionGroup={bind(item, 'actionGroup').as(ag => ['dbusmenu', ag])}
|
||||
menuModel={bind(item, "menuModel")}
|
||||
actionGroup={bind(item, "actionGroup").as((ag) => ["dbusmenu", ag])}
|
||||
>
|
||||
<icon gicon={bind(item, 'gicon')} />
|
||||
<icon gicon={bind(item, "gicon")} />
|
||||
</menubutton>
|
||||
)
|
||||
);
|
||||
|
||||
export default () => <box className='systray'>
|
||||
{
|
||||
bind(tray, 'items').as(items => items.map(item => {
|
||||
if (item.iconThemePath) App.add_icons(item.iconThemePath);
|
||||
return <TrayButton item={item} />;
|
||||
}))}
|
||||
</box>;
|
||||
export default () => (
|
||||
<box className="systray">
|
||||
{bind(tray, "items").as((items) =>
|
||||
items.map((item) => {
|
||||
if (item.iconThemePath) App.add_icons(item.iconThemePath);
|
||||
return <TrayButton item={item} />;
|
||||
}),
|
||||
)}
|
||||
</box>
|
||||
);
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { bind, Variable } from "astal";
|
||||
import Hyprland from "gi://AstalHyprland";
|
||||
import { range } from '../../lib';
|
||||
import { range } from "../../lib";
|
||||
|
||||
const hyprland = Hyprland.get_default();
|
||||
const BLOCK_SIZE = 10;
|
||||
@@ -20,14 +20,14 @@ const Workspace = ({ id }: { id: number }) => {
|
||||
|
||||
const active = Variable.derive(
|
||||
[bind(hyprland, "focusedWorkspace")],
|
||||
focused => focused.id == id
|
||||
(focused) => focused.id == id,
|
||||
);
|
||||
|
||||
hyprland.connect("workspace-added", (_, workspace) => {
|
||||
if (workspace.id != id) return;
|
||||
maybeWorkspace.set(workspace);
|
||||
occupied.set(workspace.clients.length > 0);
|
||||
workspace.connect("clients", clients => occupied.set(clients.length > 0))
|
||||
workspace.connect("clients", (clients) => occupied.set(clients.length > 0));
|
||||
});
|
||||
|
||||
hyprland.connect("workspace-removed", (_, workspaceId) => {
|
||||
@@ -36,37 +36,43 @@ const Workspace = ({ id }: { id: number }) => {
|
||||
occupied.set(false);
|
||||
});
|
||||
|
||||
const className = Variable.derive(
|
||||
[active, occupied],
|
||||
(active, occupied) => {
|
||||
if (active) return "button active";
|
||||
if (occupied) return "button occupied";
|
||||
return "button";
|
||||
}
|
||||
);
|
||||
const className = Variable.derive([active, occupied], (active, occupied) => {
|
||||
if (active) return "button active";
|
||||
if (occupied) return "button occupied";
|
||||
return "button";
|
||||
});
|
||||
|
||||
return <box vertical>
|
||||
<box vexpand />
|
||||
<eventbox onClickRelease={() => hyprland.dispatch("workspace", `${id}`)}>
|
||||
<label className={className()} />
|
||||
</eventbox>
|
||||
<box vexpand />
|
||||
</box>;
|
||||
return (
|
||||
<box vertical>
|
||||
<box vexpand />
|
||||
<eventbox onClickRelease={() => hyprland.dispatch("workspace", `${id}`)}>
|
||||
<label className={className()} />
|
||||
</eventbox>
|
||||
<box vexpand />
|
||||
</box>
|
||||
);
|
||||
};
|
||||
|
||||
export default ({ monitor }: { monitor: Hyprland.Monitor }) => {
|
||||
const workspaces = hyprland.get_workspaces();
|
||||
const displayWorkspaces = workspaces.filter(w => w.monitor.id === monitor.id);
|
||||
const displayWorkspaceBlockStart = Math.floor((displayWorkspaces[0].id - 1) / BLOCK_SIZE) * 10;
|
||||
const displayWorkspaces = workspaces.filter(
|
||||
(w) => w.monitor.id === monitor.id,
|
||||
);
|
||||
const displayWorkspaceBlockStart =
|
||||
Math.floor((displayWorkspaces[0].id - 1) / BLOCK_SIZE) * 10;
|
||||
|
||||
return <eventbox
|
||||
className="workspaces"
|
||||
onScroll={(_, e) => {
|
||||
hyprland.dispatch("workspace", e.delta_y > 0 ? "m+1" : "m-1");
|
||||
}}
|
||||
>
|
||||
<box>
|
||||
{range(BLOCK_SIZE).map(i => <Workspace id={displayWorkspaceBlockStart + i} />)}
|
||||
</box>
|
||||
</eventbox>;
|
||||
return (
|
||||
<eventbox
|
||||
className="workspaces"
|
||||
onScroll={(_, e) => {
|
||||
hyprland.dispatch("workspace", e.delta_y > 0 ? "m+1" : "m-1");
|
||||
}}
|
||||
>
|
||||
<box>
|
||||
{range(BLOCK_SIZE).map((i) => (
|
||||
<Workspace id={displayWorkspaceBlockStart + i} />
|
||||
))}
|
||||
</box>
|
||||
</eventbox>
|
||||
);
|
||||
};
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
list() {
|
||||
echo -en "\0keep-selection\x1ftrue\n"
|
||||
jq -r 'keys[]' "$BOOKMARKS"
|
||||
|
@@ -21,8 +21,6 @@ in
|
||||
let
|
||||
clipbook-rofi = lib.meta.getExe hmConfig.programs.clipbook.finalPackage;
|
||||
in
|
||||
[
|
||||
"$mod, c, exec, ${clipbook-rofi}"
|
||||
];
|
||||
[ "$mod, c, exec, ${clipbook-rofi}" ];
|
||||
};
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
list() {
|
||||
echo -en "\0keep-selection\x1ftrue\n"
|
||||
cliphist list
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
list() {
|
||||
echo -en "\0keep-selection\x1ftrue\n"
|
||||
cliphist list
|
||||
|
@@ -1,9 +1,6 @@
|
||||
import { Command } from "commander";
|
||||
import { createFileNode, createImageNode, createHeadingNode } from "./lexical";
|
||||
import {
|
||||
extractShootingConditions,
|
||||
createImageCaption,
|
||||
} from "./exif";
|
||||
import { extractShootingConditions, createImageCaption } from "./exif";
|
||||
import { uploadFile, uploadImage, uploadPost } from "./api";
|
||||
import { getBasenameWithExtension, prepareFiles } from "./files";
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
STEAM="$HOME/.local/share/Steam/steamapps/common"
|
||||
GAMES="$HOME/Games"
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
SELECTED_WORKSPACE_BASE="$1"
|
||||
ACTION="$2"
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
handle() {
|
||||
# shellcheck disable=SC2086
|
||||
case $1 in
|
||||
|
@@ -1,18 +1,24 @@
|
||||
:root {
|
||||
--replete-custom-separators-vertical-padding: 4px;
|
||||
--replete-custom-separators-left-margin: -12px;
|
||||
--replete-custom-separators-vertical-padding: 4px;
|
||||
--replete-custom-separators-left-margin: -12px;
|
||||
}
|
||||
|
||||
.nav-files-container [class*=nav-]:has(:is(
|
||||
[data-path="Inbox"],
|
||||
[data-path="Dreams"],
|
||||
[data-path="Work"],
|
||||
[data-path="Random"],
|
||||
))::after {
|
||||
content:'';
|
||||
display:block;
|
||||
height:1px;
|
||||
width:calc(100% + 32px);
|
||||
background:linear-gradient(to right, var(--tab-outline-color), transparent);
|
||||
margin:var(--replete-custom-separators-vertical-padding) 0 var(--replete-custom-separators-vertical-padding) var(--replete-custom-separators-left-margin);
|
||||
.nav-files-container
|
||||
[class*="nav-"]:has(
|
||||
:is(
|
||||
[data-path="Inbox"],
|
||||
[data-path="Dreams"],
|
||||
[data-path="Work"],
|
||||
[data-path="Random"],
|
||||
|
||||
)
|
||||
)::after {
|
||||
content: "";
|
||||
display: block;
|
||||
height: 1px;
|
||||
width: calc(100% + 32px);
|
||||
background: linear-gradient(to right, var(--tab-outline-color), transparent);
|
||||
margin: var(--replete-custom-separators-vertical-padding) 0
|
||||
var(--replete-custom-separators-vertical-padding)
|
||||
var(--replete-custom-separators-left-margin);
|
||||
}
|
||||
|
@@ -707,9 +707,7 @@ in
|
||||
_: vault:
|
||||
lib.attrsets.nameValuePair
|
||||
"${home}/${vault.target}/.obsidian/plugins/obsidian-style-settings/data.json"
|
||||
{
|
||||
source = ./theme.json;
|
||||
}
|
||||
{ source = ./theme.json; }
|
||||
) hmConfig.programs.obsidian.vaults;
|
||||
|
||||
sops.secrets."google/geocoding".sopsFile = ../../../../../../secrets/personal/secrets.yaml;
|
||||
|
@@ -35,7 +35,7 @@ in
|
||||
|
||||
theme = spicePkgs.themes.sleek // {
|
||||
extraCommands = ''
|
||||
export COLORS_CSS_PATH="${home}/.config/spotify/colors.css"
|
||||
export COLORS_CSS_PATH="${home}/.config/spotify/theme.css"
|
||||
'';
|
||||
|
||||
additionalCss = ''
|
||||
@@ -77,7 +77,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
theme.template."${home}/.config/spotify/colors.css".source = ./colors.css;
|
||||
theme.template."${home}/.config/spotify/theme.css".source = ./theme.css;
|
||||
|
||||
wayland.windowManager.hyprland.settings.bind = [
|
||||
"$mod, s, exec, ${lib.meta.getExe hmConfig.programs.spicetify.spicedSpotify}"
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
wallpaper=""
|
||||
mode=""
|
||||
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.docker.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
ms-azuretools.vscode-docker
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ ms-azuretools.vscode-docker ];
|
||||
}
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.go.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
golang.go
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ golang.go ];
|
||||
}
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.jinja.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
wholroyd.jinja
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ wholroyd.jinja ];
|
||||
}
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.lua.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
sumneko.lua
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ sumneko.lua ];
|
||||
}
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.markdown.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
yzhang.markdown-all-in-one
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ yzhang.markdown-all-in-one ];
|
||||
}
|
||||
|
@@ -6,9 +6,7 @@
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.rest.enable {
|
||||
programs.vscode = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
humao.rest-client
|
||||
];
|
||||
extensions = with pkgs.vscode-extensions; [ humao.rest-client ];
|
||||
|
||||
userSettings = {
|
||||
"rest-client.enableTelemetry" = false;
|
||||
|
@@ -6,9 +6,7 @@
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.sas.enable {
|
||||
programs.vscode = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
sas.sas-lsp
|
||||
];
|
||||
extensions = with pkgs.vscode-extensions; [ sas.sas-lsp ];
|
||||
|
||||
userSettings = {
|
||||
"SAS.connectionProfiles" = {
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.sops.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
signageos.signageos-vscode-sops
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ signageos.signageos-vscode-sops ];
|
||||
}
|
||||
|
@@ -10,11 +10,6 @@ lib.mkIf config.programs.vscode.languages.svelte.enable {
|
||||
"svelte.enable-ts-plugin" = true;
|
||||
};
|
||||
|
||||
extensions =
|
||||
with pkgs;
|
||||
with vscode-extensions;
|
||||
[
|
||||
svelte.svelte-vscode
|
||||
];
|
||||
extensions = with pkgs; with vscode-extensions; [ svelte.svelte-vscode ];
|
||||
};
|
||||
}
|
||||
|
@@ -5,7 +5,5 @@
|
||||
...
|
||||
}:
|
||||
lib.mkIf config.programs.vscode.languages.yaml.enable {
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [
|
||||
redhat.vscode-yaml
|
||||
];
|
||||
programs.vscode.extensions = with pkgs.vscode-extensions; [ redhat.vscode-yaml ];
|
||||
}
|
||||
|
@@ -1,6 +1 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
bun
|
||||
];
|
||||
}
|
||||
{ pkgs, ... }: pkgs.mkShell { packages = with pkgs; [ bun ]; }
|
||||
|
@@ -1,6 +1 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
nodejs
|
||||
];
|
||||
}
|
||||
{ pkgs, ... }: pkgs.mkShell { packages = with pkgs; [ nodejs ]; }
|
||||
|
@@ -1,8 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
(python3.withPackages (python-pkgs: with python-pkgs; [ pip ]))
|
||||
];
|
||||
packages = with pkgs; [ (python3.withPackages (python-pkgs: with python-pkgs; [ pip ])) ];
|
||||
|
||||
shellHook = ''
|
||||
if git rev-parse --is-inside-work-tree &> /dev/null; then
|
||||
|
Reference in New Issue
Block a user