Compare commits
49 Commits
ff39dd1df2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
6f5a3b9d24
|
|||
|
3cf0f35544
|
|||
|
f76fcdd1ae
|
|||
|
714e3e0683
|
|||
|
a8d7d1e666
|
|||
|
40bcc14304
|
|||
|
fa5bd0eefd
|
|||
|
6182ada581
|
|||
|
4acddcec09
|
|||
|
5c14817464
|
|||
|
38920bd3d7
|
|||
|
b89934d13f
|
|||
|
734dfcadfc
|
|||
|
2c959fdc0c
|
|||
|
e00c4f49f5
|
|||
|
61131ca598
|
|||
|
9c1a39d699
|
|||
|
32de6e24b7
|
|||
|
78e554cc30
|
|||
|
f65617deed
|
|||
|
aa3a881d58
|
|||
|
7f99b73635
|
|||
|
c1360e5c2c
|
|||
|
ca9e66bc35
|
|||
|
eac705bdfb
|
|||
|
69beab4812
|
|||
|
515110ff7d
|
|||
|
9a9bffd637
|
|||
|
f1b269e3ee
|
|||
|
f09dee5ad8
|
|||
|
f246eacdb3
|
|||
|
b7e2bba8f0
|
|||
|
25ae0f4b85
|
|||
|
d12b247368
|
|||
|
25e9128875
|
|||
|
eee28f57fc
|
|||
|
ea03e2266f
|
|||
|
5e422d05c9
|
|||
|
eaa36cfce2
|
|||
|
572d0bfe9e
|
|||
|
385ca27f8c
|
|||
|
4c18fd8c8e
|
|||
|
bf0c55669c
|
|||
|
86a5e79079
|
|||
|
7d429a4720
|
|||
|
2e9a4b13d1
|
|||
|
73eeff9a0e
|
|||
|
d216a8018d
|
|||
|
b09d854e50
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@ config/neovim/store
|
|||||||
home/modules/ags/config/types
|
home/modules/ags/config/types
|
||||||
home/modules/ags/config/tsconfig.json
|
home/modules/ags/config/tsconfig.json
|
||||||
system/modules/agenix/secrets.nix
|
system/modules/agenix/secrets.nix
|
||||||
|
config/neovim/nvim_bundle
|
||||||
|
|||||||
@ -21,7 +21,7 @@ Contains all the system configurations.
|
|||||||
|
|
||||||
- There is a common configuration used for all systems: `NixFlake/system/default.nix`
|
- There is a common configuration used for all systems: `NixFlake/system/default.nix`
|
||||||
- Every system has its own special configuration: `NixFlake/system/<hostname>/default.nix`
|
- Every system has its own special configuration: `NixFlake/system/<hostname>/default.nix`
|
||||||
- System modules are located in `NixFlake/system/modules`
|
- System modules are located in `NixFlake/system/systemmodules`
|
||||||
- Hosted services are located in `NixFlake/system/services`
|
- Hosted services are located in `NixFlake/system/services`
|
||||||
|
|
||||||
When creating a NixOS configuration inside the `NixFlake/flake.nix` the common configuration is imported.
|
When creating a NixOS configuration inside the `NixFlake/flake.nix` the common configuration is imported.
|
||||||
@ -33,7 +33,7 @@ Contains all the home-manager configurations.
|
|||||||
|
|
||||||
- There is a common configuration for each user: `NixFlake/home/<username>/default.nix`
|
- There is a common configuration for each user: `NixFlake/home/<username>/default.nix`
|
||||||
- There is a configuration for a single system of this user: `NixFlake/home/<username>/<hostname>/default.nix`
|
- There is a configuration for a single system of this user: `NixFlake/home/<username>/<hostname>/default.nix`
|
||||||
- Home-Manager modules are located in `NixFlake/home/modules`
|
- Home-Manager modules are located in `NixFlake/home/homemodules`
|
||||||
|
|
||||||
When creating a NixOS configuration inside the `NixFlake/flake.nix` the common configuration is imported.
|
When creating a NixOS configuration inside the `NixFlake/flake.nix` the common configuration is imported.
|
||||||
Because the hostname is propagated to the common configuration, it can import the host-specific config by itself.
|
Because the hostname is propagated to the common configuration, it can import the host-specific config by itself.
|
||||||
|
|||||||
555
config/dankmaterialshell/catppuccin-mauve.json
Normal file
555
config/dankmaterialshell/catppuccin-mauve.json
Normal file
@ -0,0 +1,555 @@
|
|||||||
|
{
|
||||||
|
"id": "catppuccin",
|
||||||
|
"name": "Catppuccin",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"author": "Avenge Media",
|
||||||
|
"description": "Soothing pastel theme for the high-spirited",
|
||||||
|
"dark": {},
|
||||||
|
"light": {},
|
||||||
|
"variants": {
|
||||||
|
"type": "multi",
|
||||||
|
"defaults": {
|
||||||
|
"dark": {
|
||||||
|
"accent": "mauve",
|
||||||
|
"flavor": "mocha"
|
||||||
|
},
|
||||||
|
"light": {
|
||||||
|
"accent": "mauve",
|
||||||
|
"flavor": "latte"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flavors": [
|
||||||
|
{
|
||||||
|
"id": "mocha",
|
||||||
|
"name": "Mocha",
|
||||||
|
"dark": {
|
||||||
|
"surface": "#181825",
|
||||||
|
"surfaceText": "#cdd6f4",
|
||||||
|
"surfaceVariant": "#1e1e2e",
|
||||||
|
"surfaceVariantText": "#a6adc8",
|
||||||
|
"background": "#1e1e2e",
|
||||||
|
"backgroundText": "#cdd6f4",
|
||||||
|
"outline": "#6c7086",
|
||||||
|
"surfaceContainer": "#1e1e2e",
|
||||||
|
"surfaceContainerHigh": "#313244",
|
||||||
|
"surfaceContainerHighest": "#45475a",
|
||||||
|
"error": "#f38ba8",
|
||||||
|
"warning": "#fab387",
|
||||||
|
"info": "#89b4fa"
|
||||||
|
},
|
||||||
|
"light": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "macchiato",
|
||||||
|
"name": "Macchiato",
|
||||||
|
"dark": {
|
||||||
|
"surface": "#1e2030",
|
||||||
|
"surfaceText": "#cad3f5",
|
||||||
|
"surfaceVariant": "#24273a",
|
||||||
|
"surfaceVariantText": "#a5adcb",
|
||||||
|
"background": "#24273a",
|
||||||
|
"backgroundText": "#cad3f5",
|
||||||
|
"outline": "#6e738d",
|
||||||
|
"surfaceContainer": "#24273a",
|
||||||
|
"surfaceContainerHigh": "#363a4f",
|
||||||
|
"surfaceContainerHighest": "#494d64",
|
||||||
|
"error": "#ed8796",
|
||||||
|
"warning": "#f5a97f",
|
||||||
|
"info": "#8aadf4"
|
||||||
|
},
|
||||||
|
"light": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "frappe",
|
||||||
|
"name": "Frappé",
|
||||||
|
"dark": {
|
||||||
|
"surface": "#292c3c",
|
||||||
|
"surfaceText": "#c6d0f5",
|
||||||
|
"surfaceVariant": "#303446",
|
||||||
|
"surfaceVariantText": "#a5adce",
|
||||||
|
"background": "#303446",
|
||||||
|
"backgroundText": "#c6d0f5",
|
||||||
|
"outline": "#737994",
|
||||||
|
"surfaceContainer": "#303446",
|
||||||
|
"surfaceContainerHigh": "#414559",
|
||||||
|
"surfaceContainerHighest": "#51576d",
|
||||||
|
"error": "#e78284",
|
||||||
|
"warning": "#ef9f76",
|
||||||
|
"info": "#8caaee"
|
||||||
|
},
|
||||||
|
"light": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "latte",
|
||||||
|
"name": "Latte",
|
||||||
|
"dark": {},
|
||||||
|
"light": {
|
||||||
|
"surface": "#e6e9ef",
|
||||||
|
"surfaceText": "#4c4f69",
|
||||||
|
"surfaceVariant": "#eff1f5",
|
||||||
|
"surfaceVariantText": "#6c6f85",
|
||||||
|
"background": "#eff1f5",
|
||||||
|
"backgroundText": "#4c4f69",
|
||||||
|
"outline": "#9ca0b0",
|
||||||
|
"surfaceContainer": "#e6e9ef",
|
||||||
|
"surfaceContainerHigh": "#ccd0da",
|
||||||
|
"surfaceContainerHighest": "#bcc0cc",
|
||||||
|
"error": "#d20f39",
|
||||||
|
"warning": "#fe640b",
|
||||||
|
"info": "#1e66f5"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"accents": [
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#f2d5cf",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#76534f",
|
||||||
|
"secondary": "#eebebe",
|
||||||
|
"surfaceTint": "#3a2f33"
|
||||||
|
},
|
||||||
|
"id": "rosewater",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#dc8a78",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#f6e7e3",
|
||||||
|
"secondary": "#dd7878",
|
||||||
|
"surfaceTint": "#f6e7e3"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#f4dbd6",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#7a5853",
|
||||||
|
"secondary": "#f0c6c6",
|
||||||
|
"surfaceTint": "#3b3035"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#f5e0dc",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#7d5d56",
|
||||||
|
"secondary": "#f2cdcd",
|
||||||
|
"surfaceTint": "#3d3237"
|
||||||
|
},
|
||||||
|
"name": "Rosewater"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#eebebe",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#744f52",
|
||||||
|
"secondary": "#f2d5cf",
|
||||||
|
"surfaceTint": "#392e31"
|
||||||
|
},
|
||||||
|
"id": "flamingo",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#dd7878",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#f6e5e5",
|
||||||
|
"secondary": "#dc8a78",
|
||||||
|
"surfaceTint": "#f6e5e5"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#f0c6c6",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#775256",
|
||||||
|
"secondary": "#f4dbd6",
|
||||||
|
"surfaceTint": "#3a3033"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#f2cdcd",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#7a555a",
|
||||||
|
"secondary": "#f5e0dc",
|
||||||
|
"surfaceTint": "#3c3134"
|
||||||
|
},
|
||||||
|
"name": "Flamingo"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#f4b8e4",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#793d65",
|
||||||
|
"secondary": "#ca9ee6",
|
||||||
|
"surfaceTint": "#3c2e37"
|
||||||
|
},
|
||||||
|
"id": "pink",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#ea76cb",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#f7d7ee",
|
||||||
|
"secondary": "#8839ef",
|
||||||
|
"surfaceTint": "#f7d7ee"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#f5bde6",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#7a3e67",
|
||||||
|
"secondary": "#c6a0f6",
|
||||||
|
"surfaceTint": "#3d2f38"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#f5c2e7",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#7a3f69",
|
||||||
|
"secondary": "#cba6f7",
|
||||||
|
"surfaceTint": "#3d2f39"
|
||||||
|
},
|
||||||
|
"name": "Pink"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#ca9ee6",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#542f79",
|
||||||
|
"secondary": "#babbf1",
|
||||||
|
"surfaceTint": "#33293c"
|
||||||
|
},
|
||||||
|
"id": "mauve",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#8839ef",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#eadcff",
|
||||||
|
"secondary": "#7287fd",
|
||||||
|
"surfaceTint": "#eadcff"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#c6a0f6",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#532f7d",
|
||||||
|
"secondary": "#b7bdf8",
|
||||||
|
"surfaceTint": "#32293e"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#cba6f7",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#55307f",
|
||||||
|
"secondary": "#b4befe",
|
||||||
|
"surfaceTint": "#33293f"
|
||||||
|
},
|
||||||
|
"name": "Mauve"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#e78284",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#692233",
|
||||||
|
"secondary": "#ea999c",
|
||||||
|
"surfaceTint": "#38272e"
|
||||||
|
},
|
||||||
|
"id": "red",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#d20f39",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#f6d0d6",
|
||||||
|
"secondary": "#e64553",
|
||||||
|
"surfaceTint": "#f6d0d6"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#ed8796",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#6c2336",
|
||||||
|
"secondary": "#ee99a0",
|
||||||
|
"surfaceTint": "#3a2830"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#f38ba8",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#6f2438",
|
||||||
|
"secondary": "#eba0ac",
|
||||||
|
"surfaceTint": "#3c2930"
|
||||||
|
},
|
||||||
|
"name": "Red"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#ea999c",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#69333d",
|
||||||
|
"secondary": "#e78284",
|
||||||
|
"surfaceTint": "#382a2f"
|
||||||
|
},
|
||||||
|
"id": "maroon",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#e64553",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#f7d8dc",
|
||||||
|
"secondary": "#d20f39",
|
||||||
|
"surfaceTint": "#f7d8dc"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#ee99a0",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#6b343f",
|
||||||
|
"secondary": "#ed8796",
|
||||||
|
"surfaceTint": "#392b30"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#eba0ac",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#6d3641",
|
||||||
|
"secondary": "#f38ba8",
|
||||||
|
"surfaceTint": "#3a2c31"
|
||||||
|
},
|
||||||
|
"name": "Maroon"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#ef9f76",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#6d3e24",
|
||||||
|
"secondary": "#e5c890",
|
||||||
|
"surfaceTint": "#382e27"
|
||||||
|
},
|
||||||
|
"id": "peach",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#fe640b",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#ffe4d5",
|
||||||
|
"secondary": "#df8e1d",
|
||||||
|
"surfaceTint": "#ffe4d5"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#f5a97f",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#704025",
|
||||||
|
"secondary": "#eed49f",
|
||||||
|
"surfaceTint": "#3a2f28"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#fab387",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#734226",
|
||||||
|
"secondary": "#f9e2af",
|
||||||
|
"surfaceTint": "#3b3028"
|
||||||
|
},
|
||||||
|
"name": "Peach"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#e5c890",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#68542c",
|
||||||
|
"secondary": "#a6d189",
|
||||||
|
"surfaceTint": "#383428"
|
||||||
|
},
|
||||||
|
"id": "yellow",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#df8e1d",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#fff6d6",
|
||||||
|
"secondary": "#40a02b",
|
||||||
|
"surfaceTint": "#fff6d6"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#eed49f",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#6b572e",
|
||||||
|
"secondary": "#a6da95",
|
||||||
|
"surfaceTint": "#393529"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#f9e2af",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#6e5a2f",
|
||||||
|
"secondary": "#a6e3a1",
|
||||||
|
"surfaceTint": "#3a362a"
|
||||||
|
},
|
||||||
|
"name": "Yellow"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#a6d189",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#2d5932",
|
||||||
|
"secondary": "#81c8be",
|
||||||
|
"surfaceTint": "#2a362b"
|
||||||
|
},
|
||||||
|
"id": "green",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#40a02b",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#dff4e0",
|
||||||
|
"secondary": "#179299",
|
||||||
|
"surfaceTint": "#dff4e0"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#a6da95",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#2e5c34",
|
||||||
|
"secondary": "#8bd5ca",
|
||||||
|
"surfaceTint": "#2b372c"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#a6e3a1",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#2f5f36",
|
||||||
|
"secondary": "#94e2d5",
|
||||||
|
"surfaceTint": "#2b382c"
|
||||||
|
},
|
||||||
|
"name": "Green"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#81c8be",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#2c5853",
|
||||||
|
"secondary": "#99d1db",
|
||||||
|
"surfaceTint": "#2a3634"
|
||||||
|
},
|
||||||
|
"id": "teal",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#179299",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#daf3f1",
|
||||||
|
"secondary": "#04a5e5",
|
||||||
|
"surfaceTint": "#daf3f1"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#8bd5ca",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#2d5b56",
|
||||||
|
"secondary": "#91d7e3",
|
||||||
|
"surfaceTint": "#2b3735"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#94e2d5",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#2e5e59",
|
||||||
|
"secondary": "#89dceb",
|
||||||
|
"surfaceTint": "#2b3836"
|
||||||
|
},
|
||||||
|
"name": "Teal"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#99d1db",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#245464",
|
||||||
|
"secondary": "#85c1dc",
|
||||||
|
"surfaceTint": "#283438"
|
||||||
|
},
|
||||||
|
"id": "sky",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#04a5e5",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#dbf1fb",
|
||||||
|
"secondary": "#209fb5",
|
||||||
|
"surfaceTint": "#dbf1fb"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#91d7e3",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#245667",
|
||||||
|
"secondary": "#7dc4e4",
|
||||||
|
"surfaceTint": "#293539"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#89dceb",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#24586a",
|
||||||
|
"secondary": "#74c7ec",
|
||||||
|
"surfaceTint": "#29363a"
|
||||||
|
},
|
||||||
|
"name": "Sky"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#85c1dc",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#1f4967",
|
||||||
|
"secondary": "#8caaee",
|
||||||
|
"surfaceTint": "#27323a"
|
||||||
|
},
|
||||||
|
"id": "sapphire",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#209fb5",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#def3f8",
|
||||||
|
"secondary": "#1e66f5",
|
||||||
|
"surfaceTint": "#def3f8"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#7dc4e4",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#1f4b6b",
|
||||||
|
"secondary": "#8aadf4",
|
||||||
|
"surfaceTint": "#27333b"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#74c7ec",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#1f4d6f",
|
||||||
|
"secondary": "#89b4fa",
|
||||||
|
"surfaceTint": "#27343c"
|
||||||
|
},
|
||||||
|
"name": "Sapphire"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#8caaee",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#243d6f",
|
||||||
|
"secondary": "#babbf1",
|
||||||
|
"surfaceTint": "#282f3b"
|
||||||
|
},
|
||||||
|
"id": "blue",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#1e66f5",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#e0e9ff",
|
||||||
|
"secondary": "#7287fd",
|
||||||
|
"surfaceTint": "#e0e9ff"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#8aadf4",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#243e72",
|
||||||
|
"secondary": "#b7bdf8",
|
||||||
|
"surfaceTint": "#29303c"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#89b4fa",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#243f75",
|
||||||
|
"secondary": "#b4befe",
|
||||||
|
"surfaceTint": "#29313d"
|
||||||
|
},
|
||||||
|
"name": "Blue"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"frappe": {
|
||||||
|
"primary": "#babbf1",
|
||||||
|
"primaryText": "#303446",
|
||||||
|
"primaryContainer": "#3d427b",
|
||||||
|
"secondary": "#ca9ee6",
|
||||||
|
"surfaceTint": "#2e2f3e"
|
||||||
|
},
|
||||||
|
"id": "lavender",
|
||||||
|
"latte": {
|
||||||
|
"primary": "#7287fd",
|
||||||
|
"primaryText": "#eff1f5",
|
||||||
|
"primaryContainer": "#e5e8ff",
|
||||||
|
"secondary": "#8839ef",
|
||||||
|
"surfaceTint": "#e5e8ff"
|
||||||
|
},
|
||||||
|
"macchiato": {
|
||||||
|
"primary": "#b7bdf8",
|
||||||
|
"primaryText": "#24273a",
|
||||||
|
"primaryContainer": "#3e437e",
|
||||||
|
"secondary": "#c6a0f6",
|
||||||
|
"surfaceTint": "#2f303f"
|
||||||
|
},
|
||||||
|
"mocha": {
|
||||||
|
"primary": "#b4befe",
|
||||||
|
"primaryText": "#1e1e2e",
|
||||||
|
"primaryContainer": "#3f4481",
|
||||||
|
"secondary": "#cba6f7",
|
||||||
|
"surfaceTint": "#2f3140"
|
||||||
|
},
|
||||||
|
"name": "Lavender"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"sourceDir": "catppuccin"
|
||||||
|
}
|
||||||
@ -68,7 +68,7 @@ rec {
|
|||||||
# bintools = pkgs.bintools.bintools; # Unwrapped bintools
|
# bintools = pkgs.bintools.bintools; # Unwrapped bintools
|
||||||
# libc = pkgs.glibc;
|
# libc = pkgs.glibc;
|
||||||
# };
|
# };
|
||||||
# gcc = pkgs.hiPrio (pkgs.wrapCCWith {
|
# gcc = lib.hiPrio (pkgs.wrapCCWith {
|
||||||
# cc = pkgs.gcc.cc; # Unwrapped gcc
|
# cc = pkgs.gcc.cc; # Unwrapped gcc
|
||||||
# libc = pkgs.glibc;
|
# libc = pkgs.glibc;
|
||||||
# bintools = bintools;
|
# bintools = bintools;
|
||||||
@ -84,7 +84,7 @@ rec {
|
|||||||
# bintools = pkgs.bintools.bintools; # Unwrapped bintools
|
# bintools = pkgs.bintools.bintools; # Unwrapped bintools
|
||||||
# libc = pkgs.glibc_multi;
|
# libc = pkgs.glibc_multi;
|
||||||
# };
|
# };
|
||||||
# gcc_multilib = pkgs.hiPrio (pkgs.wrapCCWith {
|
# gcc_multilib = lib.hiPrio (pkgs.wrapCCWith {
|
||||||
# cc = pkgs.gcc.cc; # Unwrapped gcc
|
# cc = pkgs.gcc.cc; # Unwrapped gcc
|
||||||
# libc = pkgs.glibc_multi;
|
# libc = pkgs.glibc_multi;
|
||||||
# bintools = bintools_multilib;
|
# bintools = bintools_multilib;
|
||||||
|
|||||||
@ -210,6 +210,10 @@ Convert line endings to dos format
|
|||||||
unix2dos <file>
|
unix2dos <file>
|
||||||
$ file: eza -1
|
$ file: eza -1
|
||||||
|
|
||||||
|
% tiddl
|
||||||
|
Download stuff from tidal
|
||||||
|
tiddl download --track-quality max --path ~/Downloads/Beet/Albums --videos none url "<url>"
|
||||||
|
|
||||||
; ===========================
|
; ===========================
|
||||||
; SECRETS
|
; SECRETS
|
||||||
; ===========================
|
; ===========================
|
||||||
|
|||||||
204
config/neovim/bundle.py
Normal file
204
config/neovim/bundle.py
Normal file
@ -0,0 +1,204 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import argparse
|
||||||
|
import os
|
||||||
|
import re
|
||||||
|
import shutil
|
||||||
|
import subprocess
|
||||||
|
from typing import cast
|
||||||
|
from urllib.request import urlretrieve
|
||||||
|
|
||||||
|
INIT_LUA: str = "/home/christoph/.config/nvim/init.lua"
|
||||||
|
|
||||||
|
|
||||||
|
def patch_paths(text: str, mappings: dict[str, str]) -> str:
|
||||||
|
"""Patches /nix/store paths in init.lua"""
|
||||||
|
|
||||||
|
patched = text
|
||||||
|
|
||||||
|
for old, new in mappings.items():
|
||||||
|
print(f"Patching init.lua: {old} -> {new}")
|
||||||
|
patched = patched.replace(old, new)
|
||||||
|
|
||||||
|
return patched
|
||||||
|
|
||||||
|
|
||||||
|
def patch_various(text: str) -> str:
|
||||||
|
"""Patches various incompatibilities with NixVim init.lua"""
|
||||||
|
|
||||||
|
# Install lazy
|
||||||
|
print("Patching init.lua: Bootstrap lazy.nvim")
|
||||||
|
patched = (
|
||||||
|
"""-- Bootstrap lazy.nvim
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
|
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
||||||
|
if vim.v.shell_error ~= 0 then
|
||||||
|
vim.api.nvim_echo({
|
||||||
|
{ "Failed to clone lazy.nvim:\\n", "ErrorMsg" },
|
||||||
|
{ out, "WarningMsg" },
|
||||||
|
{ "\\nPress any key to exit..." },
|
||||||
|
}, true, {})
|
||||||
|
vim.fn.getchar()
|
||||||
|
os.exit(1)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
"""
|
||||||
|
+ text
|
||||||
|
)
|
||||||
|
|
||||||
|
# print("Patching init.lua: Disabling vim.loader")
|
||||||
|
# patched = patched.replace("vim.loader.enable(true)", "vim.loader.enable(false)")
|
||||||
|
|
||||||
|
return patched
|
||||||
|
|
||||||
|
|
||||||
|
def copy_plugins(text: str, path: str) -> dict[str, str]:
|
||||||
|
"""Copies NeoVim plugins from the Nix Store"""
|
||||||
|
|
||||||
|
os.makedirs(path, exist_ok=True)
|
||||||
|
|
||||||
|
plugins_path: str = re.findall(r"\"(/nix/store/.*-lazy-plugins)\"", text)[0]
|
||||||
|
print(f"Copying: {plugins_path} -> {path}/plugins")
|
||||||
|
_ = shutil.copytree(plugins_path, f"{path}/plugins")
|
||||||
|
|
||||||
|
treesitter_path: str = re.findall(
|
||||||
|
r"\"(/nix/store/.*-vimplugin-nvim-treesitter.*)\"", text
|
||||||
|
)[0]
|
||||||
|
print(f"Copying: {treesitter_path} -> {path}/treesitter")
|
||||||
|
_ = shutil.copytree(treesitter_path, f"{path}/treesitter")
|
||||||
|
|
||||||
|
parsers_path: str = re.findall(r"\"(/nix/store/.*-treesitter-parsers)\"", text)[0]
|
||||||
|
print(f"Copying: {parsers_path} -> {path}/parsers")
|
||||||
|
_ = shutil.copytree(parsers_path, f"{path}/parsers")
|
||||||
|
|
||||||
|
return {
|
||||||
|
plugins_path: "./plugins",
|
||||||
|
treesitter_path: "./treesitter",
|
||||||
|
parsers_path: "./parsers",
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
def write_file(text: str, path: str) -> None:
|
||||||
|
"""Write text to a file"""
|
||||||
|
|
||||||
|
with open(path, "w") as file:
|
||||||
|
_ = file.write(text)
|
||||||
|
|
||||||
|
|
||||||
|
# TODO: Could add etc. nvim/lsp/formatter/linter binaries here
|
||||||
|
# TODO: Needs "install recipe", as in most cases the download will be an archive
|
||||||
|
DOWNLOADS: list[tuple[str, str]] = [
|
||||||
|
# (
|
||||||
|
# "https://github.com/neovim/neovim/releases/download/v0.11.6/nvim-linux-x86_64.tar.gz",
|
||||||
|
# "nvim",
|
||||||
|
# ),
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
def download_binaries(path: str, urls: list[tuple[str, str]]) -> None:
|
||||||
|
"""Download required binaries"""
|
||||||
|
|
||||||
|
os.makedirs(f"{path}/bin", exist_ok=True)
|
||||||
|
|
||||||
|
def download(url: str, path: str) -> None:
|
||||||
|
"""Download from URL"""
|
||||||
|
|
||||||
|
print(f"Downloading: {url}")
|
||||||
|
_ = urlretrieve(url, path)
|
||||||
|
|
||||||
|
for url, name in urls:
|
||||||
|
download(url, f"{path}/bin/{name}")
|
||||||
|
|
||||||
|
|
||||||
|
def build_nvim(path: str) -> None:
|
||||||
|
"""Builds a static nvim binary against musl"""
|
||||||
|
|
||||||
|
# TODO: Build etc. is working, but on the target system there are
|
||||||
|
# lua-ffi errors from noice.nvim with the static binary.
|
||||||
|
# This does not happen with nvim from system package repository.
|
||||||
|
|
||||||
|
def run(command: list[str]) -> None:
|
||||||
|
"""Run a subprocess"""
|
||||||
|
|
||||||
|
print(f"Running: {' '.join(command)}")
|
||||||
|
_ = subprocess.run(command)
|
||||||
|
|
||||||
|
os.makedirs(f"{path}/nvim-build", exist_ok=True)
|
||||||
|
|
||||||
|
with open(f"{path}/nvim-build/build-nvim.sh", "w") as file:
|
||||||
|
_ = file.write(
|
||||||
|
"\n".join(
|
||||||
|
[
|
||||||
|
"#!/bin/sh",
|
||||||
|
"git clone https://github.com/neovim/neovim",
|
||||||
|
"cd neovim",
|
||||||
|
"git checkout stable",
|
||||||
|
'make -j$(nproc) CMAKE_BUILD_TYPE=Release CMAKE_EXTRA_FLAGS="-DSTATIC_BUILD=1"',
|
||||||
|
"make CMAKE_INSTALL_PREFIX=/workdir/install install",
|
||||||
|
]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
run(
|
||||||
|
[
|
||||||
|
"docker",
|
||||||
|
"run",
|
||||||
|
"--rm",
|
||||||
|
"-it",
|
||||||
|
"-v",
|
||||||
|
f"{os.path.abspath(path)}/nvim-build:/workdir",
|
||||||
|
"-w",
|
||||||
|
"/workdir",
|
||||||
|
"alpine:3.23.3",
|
||||||
|
"/bin/sh",
|
||||||
|
"-c",
|
||||||
|
"apk add build-base cmake coreutils curl gettext-tiny-dev git && chmod +x ./build-nvim.sh && ./build-nvim.sh",
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
_ = shutil.copytree(f"{path}/nvim-build/install/bin", f"{path}/bin")
|
||||||
|
_ = shutil.copytree(f"{path}/nvim-build/install/lib", f"{path}/lib")
|
||||||
|
_ = shutil.copytree(f"{path}/nvim-build/install/share", f"{path}/share")
|
||||||
|
|
||||||
|
_ = shutil.rmtree(f"{path}/nvim-build")
|
||||||
|
|
||||||
|
|
||||||
|
def bundle() -> None:
|
||||||
|
"""Creates a standalone NeoVim bundle from the NixVim configuration"""
|
||||||
|
|
||||||
|
parser = argparse.ArgumentParser()
|
||||||
|
_ = parser.add_argument(
|
||||||
|
"--config",
|
||||||
|
type=str,
|
||||||
|
default=INIT_LUA,
|
||||||
|
help="init.lua or other config file",
|
||||||
|
)
|
||||||
|
_ = parser.add_argument(
|
||||||
|
"--out",
|
||||||
|
type=str,
|
||||||
|
default="./nvim_bundle",
|
||||||
|
help="destination folder",
|
||||||
|
)
|
||||||
|
|
||||||
|
args = parser.parse_args()
|
||||||
|
args.config = cast(str, args.config)
|
||||||
|
args.out = cast(str, args.out)
|
||||||
|
|
||||||
|
with open(args.config, "r") as file:
|
||||||
|
patched_init_lua: str = file.read()
|
||||||
|
|
||||||
|
path_mappings = copy_plugins(patched_init_lua, args.out)
|
||||||
|
patched_init_lua = patch_paths(patched_init_lua, path_mappings)
|
||||||
|
patched_init_lua = patch_various(patched_init_lua)
|
||||||
|
write_file(patched_init_lua, f"{args.out}/init.lua")
|
||||||
|
|
||||||
|
# build_nvim(args.out)
|
||||||
|
# download_binaries(args.out, DOWNLOADS)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
bundle()
|
||||||
6
config/neovim/info.md
Normal file
6
config/neovim/info.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# NeoVim Portable
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
- Base packages: `sudo apt install neovim git direnv ripgrep curl fzf`
|
||||||
|
- Link or copy the generated `nvim_bundle` to `~/.config/nvim` on the target machine
|
||||||
@ -7,7 +7,7 @@
|
|||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# create a module that only contains the options, type can be home or system
|
# create a module that only contains the options, type can be home or system
|
||||||
toModule = type: name: {options.modules.${name} = import ../../${type}/modules/${name}/options.nix {inherit lib mylib;};};
|
toModule = type: name: {options.systemmodules.${name} = import ../../${type}/modules/${name}/options.nix {inherit lib mylib;};};
|
||||||
|
|
||||||
# evaluate a single module
|
# evaluate a single module
|
||||||
evalModule = type: name: (lib.evalModules {modules = [(toModule type name)];});
|
evalModule = type: name: (lib.evalModules {modules = [(toModule type name)];});
|
||||||
|
|||||||
@ -9,4 +9,5 @@
|
|||||||
msty = pkgs.callPackage ./msty {};
|
msty = pkgs.callPackage ./msty {};
|
||||||
unityhub = pkgs.callPackage ./unityhub {};
|
unityhub = pkgs.callPackage ./unityhub {};
|
||||||
tidal-dl-ng = pkgs.callPackage ./tidal-dl-ng {};
|
tidal-dl-ng = pkgs.callPackage ./tidal-dl-ng {};
|
||||||
|
tiddl = pkgs.callPackage ./tiddl {};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -10,11 +10,12 @@
|
|||||||
#
|
#
|
||||||
pythonPkgs = pkgs.python313Packages.overrideScope (self: super: {
|
pythonPkgs = pkgs.python313Packages.overrideScope (self: super: {
|
||||||
typer = super.typer.overridePythonAttrs (old: {
|
typer = super.typer.overridePythonAttrs (old: {
|
||||||
version = "0.20.0";
|
version = "0.20.1";
|
||||||
src = super.fetchPypi {
|
src = super.fetchPypi {
|
||||||
inherit (old) pname;
|
inherit (old) pname;
|
||||||
version = "0.20.0";
|
version = "0.20.1";
|
||||||
sha256 = "sha256-Gq9klAMXk+SHb7C6z6apErVRz0PB5jyADfixqGZyDDc=";
|
# sha256 = "sha256-Gq9klAMXk+SHb7C6z6apErVRz0PB5jyADfixqGZyDDc="; # v0.20.0
|
||||||
|
sha256 = "sha256-aFhesbASA2icQZm8RA1r5hbwhR6fDrQeSneIRcWg/Vs="; # v0.20.1
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -48,30 +49,33 @@
|
|||||||
# doCheck = false;
|
# doCheck = false;
|
||||||
# });
|
# });
|
||||||
|
|
||||||
# rich_14_2_0 = pkgs.python313Packages.rich.overridePythonAttrs (old: {
|
|
||||||
# version = "14.2.0";
|
|
||||||
# src = pkgs.fetchFromGitHub {
|
|
||||||
# owner = "Textualize";
|
|
||||||
# repo = "rich";
|
|
||||||
# tag = "v14.2.0";
|
|
||||||
# hash = "sha256-oQbxRbZnVr/Ln+i/hpBw5FlpUp3gcp/7xsxi6onPkn8=";
|
|
||||||
# };
|
|
||||||
# });
|
|
||||||
|
|
||||||
tidalDlNg = pythonPkgs.buildPythonApplication rec {
|
tidalDlNg = pythonPkgs.buildPythonApplication rec {
|
||||||
pname = "tidal-dl-ng";
|
pname = "tidal_dl_ng_for_dj";
|
||||||
version = "0.31.3";
|
version = "0.33.2";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
# The official repo was deleted
|
||||||
owner = "exislow";
|
# src = pkgs.fetchFromGitHub {
|
||||||
repo = "tidal-dl-ng";
|
# owner = "exislow";
|
||||||
rev = "v${version}";
|
# repo = "tidal-dl-ng";
|
||||||
sha256 = "sha256-PUT0anx1yivgXwW21jah7Rv1/BabOT+KPoW446NFNyg=";
|
# rev = "v${version}";
|
||||||
|
# sha256 = "sha256-PUT0anx1yivgXwW21jah7Rv1/BabOT+KPoW446NFNyg=";
|
||||||
|
# };
|
||||||
|
|
||||||
|
# Package now also deleted from PyPi
|
||||||
|
# src = pythonPkgs.fetchPypi {
|
||||||
|
# inherit pname version;
|
||||||
|
# sha256 = "sha256-rOMyxnT7uVnMbn678DFtqAu4+Uc5VFGcqGI0jxplnpc=";
|
||||||
|
# };
|
||||||
|
|
||||||
|
# TODO: Borked
|
||||||
|
# "For DJ"-Fork
|
||||||
|
src = pythonPkgs.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-605cgBqZV6L7sxWtEa4Ki+9hBqX4m3Rk+X5oY5bv/FQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
dontCheckRuntimeDeps = true;
|
||||||
catchConflicts = false;
|
|
||||||
|
|
||||||
nativeBuildInputs = with pythonPkgs; [poetry-core setuptools];
|
nativeBuildInputs = with pythonPkgs; [poetry-core setuptools];
|
||||||
|
|
||||||
@ -96,13 +100,6 @@
|
|||||||
typer
|
typer
|
||||||
rich
|
rich
|
||||||
];
|
];
|
||||||
|
|
||||||
# pythonOutputDistPhase = ''
|
|
||||||
# echo "⚠️Skipping pythonOutputDistPhase"
|
|
||||||
# '';
|
|
||||||
# pythonCatchConflictsPhase = ''
|
|
||||||
# echo "🛑 Skipping pythonCatchConflictsPhase"
|
|
||||||
# '';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -131,7 +128,7 @@
|
|||||||
|
|
||||||
tidal-dl-ng-gui-desktopfile = pkgs.stdenv.mkDerivation {
|
tidal-dl-ng-gui-desktopfile = pkgs.stdenv.mkDerivation {
|
||||||
pname = "tdng";
|
pname = "tdng";
|
||||||
version = "0.31.3";
|
version = "0.33.2";
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
|
|
||||||
nativeBuildInputs = [pkgs.makeWrapper];
|
nativeBuildInputs = [pkgs.makeWrapper];
|
||||||
|
|||||||
60
derivations/tiddl/default.nix
Normal file
60
derivations/tiddl/default.nix
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
pkgs,
|
||||||
|
}: let
|
||||||
|
pythonPkgs = pkgs.python314Packages.overrideScope (self: super: {
|
||||||
|
typer = super.typer.overridePythonAttrs (old: {
|
||||||
|
version = "0.20.1";
|
||||||
|
src = pkgs.fetchPypi {
|
||||||
|
pname = "typer";
|
||||||
|
version = "0.20.0";
|
||||||
|
sha256 = "sha256-Gq9klAMXk+SHb7C6z6apErVRz0PB5jyADfixqGZyDDc=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
aiofiles = super.aiofiles.overridePythonAttrs (old: {
|
||||||
|
version = "25.1.0";
|
||||||
|
src = pkgs.fetchFromGitHub {
|
||||||
|
owner = "Tinche";
|
||||||
|
repo = "aiofiles";
|
||||||
|
tag = "v25.1.0";
|
||||||
|
hash = "sha256-NBmzoUb2una3+eWqR1HraVPibaRb9I51aYwskrjxskQ=";
|
||||||
|
};
|
||||||
|
# Build system changed in this version
|
||||||
|
build-system = with pythonPkgs; [
|
||||||
|
hatchling
|
||||||
|
hatch-vcs
|
||||||
|
];
|
||||||
|
});
|
||||||
|
});
|
||||||
|
in
|
||||||
|
pythonPkgs.buildPythonApplication rec {
|
||||||
|
pname = "tiddl";
|
||||||
|
version = "3.2.0";
|
||||||
|
format = "pyproject";
|
||||||
|
|
||||||
|
src = pythonPkgs.fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "sha256-uLkGyIScYPqFgQdPAOYJDJG0jp+nDAwIl2kFkaJZFco=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontCheckRuntimeDeps = true;
|
||||||
|
|
||||||
|
build-system = with pythonPkgs; [
|
||||||
|
poetry-core
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = with pythonPkgs; [
|
||||||
|
# Nixpkgs
|
||||||
|
aiofiles
|
||||||
|
aiohttp
|
||||||
|
m3u8
|
||||||
|
mutagen
|
||||||
|
pydantic
|
||||||
|
requests
|
||||||
|
requests-cache
|
||||||
|
typer
|
||||||
|
];
|
||||||
|
}
|
||||||
299
flake.lock
generated
299
flake.lock
generated
@ -20,11 +20,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765900596,
|
"lastModified": 1767024902,
|
||||||
"narHash": "sha256-+hn8v9jkkLP9m+o0Nm5SiEq10W0iWDSotH2XfjU45fA=",
|
"narHash": "sha256-sMdk6QkMDhIOnvULXKUM8WW8iyi551SWw2i6KQHbrrU=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "aquamarine",
|
"repo": "aquamarine",
|
||||||
"rev": "d83c97f8f5c0aae553c1489c7d9eff3eadcadace",
|
"rev": "b8a0c5ba5a9fbd2c660be7dd98bdde0ff3798556",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -44,11 +44,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766280311,
|
"lastModified": 1768659593,
|
||||||
"narHash": "sha256-Ty4GT6EaQFaL9E/dKcJB1Q30ByGkxXV6U1eu8+PS5Dc=",
|
"narHash": "sha256-Cjm5dbWWds9fLvOXHG5Co8Lfgv4/o3h7KhtfhLM28cU=",
|
||||||
"owner": "caelestia-dots",
|
"owner": "caelestia-dots",
|
||||||
"repo": "shell",
|
"repo": "shell",
|
||||||
"rev": "66e509ae488b2c0468f2c803fd34c2625ca725dc",
|
"rev": "fd1165f1530b55c0751f8af7475d0c588b11488c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -68,11 +68,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766195958,
|
"lastModified": 1768010798,
|
||||||
"narHash": "sha256-YGawjW7RDzzOEiovrRGyRoXfjISbgLz4BVN9ZMb8LEc=",
|
"narHash": "sha256-CmEy/t3CCDnUvn594sXtv0vRxt1JQaqj0nGdtQFU3mA=",
|
||||||
"owner": "caelestia-dots",
|
"owner": "caelestia-dots",
|
||||||
"repo": "cli",
|
"repo": "cli",
|
||||||
"rev": "8c83ae1e6a60de7d496d346bf3623f789a9f53e3",
|
"rev": "70a8624eacfc1b90fe248aef722ae708e775a927",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -98,20 +98,17 @@
|
|||||||
},
|
},
|
||||||
"dank-material-shell": {
|
"dank-material-shell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"dgop": [
|
|
||||||
"dgop"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"quickshell": "quickshell"
|
"quickshell": "quickshell"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766685026,
|
"lastModified": 1768670844,
|
||||||
"narHash": "sha256-7WSIuBJeXk8k0OoURUrTnKFGo+X3d4yTkH1RSh43qIQ=",
|
"narHash": "sha256-6jntj2RVC3ceEFd1dWKUlLkV/UUkCfcv6KR+yBt7DgA=",
|
||||||
"owner": "AvengeMedia",
|
"owner": "AvengeMedia",
|
||||||
"repo": "DankMaterialShell",
|
"repo": "DankMaterialShell",
|
||||||
"rev": "fd839059c09632c26d69a03e88641ff4d4a26cf4",
|
"rev": "27f0df07af950c378054264eda384978d95c7f80",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -138,26 +135,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dgop": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1765838956,
|
|
||||||
"narHash": "sha256-A3a2ZfvjirX8VIdIPI+nAyukWs6vx4vet3fU0mpr7lU=",
|
|
||||||
"owner": "AvengeMedia",
|
|
||||||
"repo": "dgop",
|
|
||||||
"rev": "0ff697a4e3418966caa714c838fc73f1ef6ba59b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "AvengeMedia",
|
|
||||||
"repo": "dgop",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"disko": {
|
"disko": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@ -228,15 +205,15 @@
|
|||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761588595,
|
"lastModified": 1767039857,
|
||||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
"owner": "edolstra",
|
"owner": "NixOS",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "edolstra",
|
"owner": "NixOS",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@ -259,11 +236,11 @@
|
|||||||
},
|
},
|
||||||
"flake-compat_3": {
|
"flake-compat_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1761588595,
|
"lastModified": 1767039857,
|
||||||
"narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -413,11 +390,11 @@
|
|||||||
},
|
},
|
||||||
"hardware": {
|
"hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766568855,
|
"lastModified": 1768584846,
|
||||||
"narHash": "sha256-UXVtN77D7pzKmzOotFTStgZBqpOcf8cO95FcupWp4Zo=",
|
"narHash": "sha256-IRPmIOV2tPwxbhP/I9M5AmwhTC0lMPtoPStC+8T6xl0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "c5db9569ac9cc70929c268ac461f4003e3e5ca80",
|
"rev": "cce68f4a54fa4e3d633358364477f5cc1d782440",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -433,11 +410,32 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766682973,
|
"lastModified": 1768598210,
|
||||||
"narHash": "sha256-GKO35onS711ThCxwWcfuvbIBKXwriahGqs+WZuJ3v9E=",
|
"narHash": "sha256-kkgA32s/f4jaa4UG+2f8C225Qvclxnqs76mf8zvTVPg=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "91cdb0e2d574c64fae80d221f4bf09d5592e9ec2",
|
"rev": "c47b2cc64a629f8e075de52e4742de688f930dc6",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"impermanence",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1747978958,
|
||||||
|
"narHash": "sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "7419250703fd5eb50e99bdfb07a86671939103ea",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -456,11 +454,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766164135,
|
"lastModified": 1768644786,
|
||||||
"narHash": "sha256-xUX/a5Z7CGbEDtJJy7sRiOWF5n6XvjoFTDsof6rjssE=",
|
"narHash": "sha256-0nfqa8f7/at2hQTq5rbz69S+nmp6RzAtX0kf8OiJBrU=",
|
||||||
"owner": "VirtCode",
|
"owner": "VirtCode",
|
||||||
"repo": "hypr-dynamic-cursors",
|
"repo": "hypr-dynamic-cursors",
|
||||||
"rev": "b852d97a7184d88c4cd6a031fcfa5f61dbb79f4a",
|
"rev": "b92d2db9c9f045e50e4c0e97e96b88ea86f43cd3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -514,11 +512,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763733840,
|
"lastModified": 1766946335,
|
||||||
"narHash": "sha256-JnET78yl5RvpGuDQy3rCycOCkiKoLr5DN1fPhRNNMco=",
|
"narHash": "sha256-MRD+Jr2bY11MzNDfenENhiK6pvN+nHygxdHoHbZ1HtE=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprgraphics",
|
"repo": "hyprgraphics",
|
||||||
"rev": "8f1bec691b2d198c60cccabca7a94add2df4ed1a",
|
"rev": "4af02a3925b454deb1c36603843da528b67ded6c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -546,11 +544,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766752769,
|
"lastModified": 1768660279,
|
||||||
"narHash": "sha256-6lcH59Bqo4KRIzyrVieGykolRiFrISNteig+5n2l6ok=",
|
"narHash": "sha256-ak7mm3HiluwyMXHadoEzhrzzMGz2T1UkOVL0N0sbYUc=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "Hyprland",
|
"repo": "Hyprland",
|
||||||
"rev": "9ea565054a7496aeccf61811cb75efdb4196e551",
|
"rev": "c99eb23869da2b80e3613a886aa1b99851367a3c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -592,11 +590,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765643131,
|
"lastModified": 1767023960,
|
||||||
"narHash": "sha256-CCGohW5EBIRy4B7vTyBMqPgsNcaNenVad/wszfddET0=",
|
"narHash": "sha256-R2HgtVS1G3KSIKAQ77aOZ+Q0HituOmPgXW9nBNkpp3Q=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-guiutils",
|
"repo": "hyprland-guiutils",
|
||||||
"rev": "e50ae912813bdfa8372d62daf454f48d6df02297",
|
"rev": "c2e906261142f5dd1ee0bfc44abba23e2754c660",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -620,11 +618,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766258034,
|
"lastModified": 1767723101,
|
||||||
"narHash": "sha256-0EoL8X+sYexDBusF9XyY2WoGKRqnARA+vfh/3uAi/j0=",
|
"narHash": "sha256-jObY8O7OI+91hoE137APsDxm0235/Yx+HhFIip187zM=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprland-plugins",
|
"repo": "hyprland-plugins",
|
||||||
"rev": "3e29d68d5a830c542643a52d4be726661eaa85e7",
|
"rev": "fef398ed5e4faf59bc43b915e46a75cfe8b16697",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -695,11 +693,11 @@
|
|||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764820995,
|
"lastModified": 1767871242,
|
||||||
"narHash": "sha256-IMa4mvkF0w7OAy+yEzPFYs2an332K30lf5qfUOAS9Cw=",
|
"narHash": "sha256-Gge7LY1lrPc2knDnyw8GBQ2sxRPzM7W2T6jNG1HY5bA=",
|
||||||
"owner": "KZDKM",
|
"owner": "KZDKM",
|
||||||
"repo": "Hyprspace",
|
"repo": "Hyprspace",
|
||||||
"rev": "0467be86b18cfc324fab04afbd40fe9ef80f7fa9",
|
"rev": "bcd969224ffeb6266c6618c192949461135eef38",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -772,11 +770,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766160771,
|
"lastModified": 1766253372,
|
||||||
"narHash": "sha256-roINUGikWRqqgKrD4iotKbGj3ZKJl3hjMz5l/SyKrHw=",
|
"narHash": "sha256-1+p4Kw8HdtMoFSmJtfdwjxM4bPxDK9yg27SlvUMpzWA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprutils",
|
"repo": "hyprutils",
|
||||||
"rev": "5ac060bfcf2f12b3a6381156ebbc13826a05b09f",
|
"rev": "51a4f93ce8572e7b12b7284eb9e6e8ebf16b4be9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -826,11 +824,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766253200,
|
"lastModified": 1767473322,
|
||||||
"narHash": "sha256-26qPwrd3od+xoYVywSB7hC2cz9ivN46VPLlrsXyGxvE=",
|
"narHash": "sha256-RGOeG+wQHeJ6BKcsSB8r0ZU77g9mDvoQzoTKj2dFHwA=",
|
||||||
"owner": "hyprwm",
|
"owner": "hyprwm",
|
||||||
"repo": "hyprwire",
|
"repo": "hyprwire",
|
||||||
"rev": "1079777525b30a947c8d657fac158e00ae85de9d",
|
"rev": "d5e7d6b49fe780353c1cf9a1cf39fa8970bd9d11",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -840,12 +838,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"impermanence": {
|
"impermanence": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager_2",
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1737831083,
|
"lastModified": 1767822991,
|
||||||
"narHash": "sha256-LJggUHbpyeDvNagTUrdhe/pRVp4pnS6wVKALS782gRI=",
|
"narHash": "sha256-iyrn9AcPZCoyxX4OT8eMkBsjG7SRUQXXS/V1JzxS7rA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "impermanence",
|
"repo": "impermanence",
|
||||||
"rev": "4b3e914cdf97a5b536a889e939fb2fd2b043a170",
|
"rev": "82e5bc4508cab9e8d5a136626276eb5bbce5e9c5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -883,7 +885,7 @@
|
|||||||
"naersk": {
|
"naersk": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763384566,
|
"lastModified": 1763384566,
|
||||||
@ -911,11 +913,11 @@
|
|||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766731833,
|
"lastModified": 1768669983,
|
||||||
"narHash": "sha256-7V5h0zW4/Z6zLxA5jBw3B42ipKp0Vqm496pnst6DZlU=",
|
"narHash": "sha256-OGl180QZ1QIirJ7Cy9Tqrgn/XEglaKGBeb5pys/sS7Y=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "0e8e693d16acd921aa642966a83f9e9ba413c81d",
|
"rev": "b90da048a6ae94b49ff489bacac4a49206670c18",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -944,11 +946,11 @@
|
|||||||
"niri-unstable": {
|
"niri-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766727094,
|
"lastModified": 1768653140,
|
||||||
"narHash": "sha256-p0UuRK0rcHvo4R5EnDVVvAgp0fAYOAkKq8aztx3GtLU=",
|
"narHash": "sha256-8/u6/KHghsTHb3zmw8hYbwRQIp7UgMyQyqn4zVFN1S0=",
|
||||||
"owner": "YaLTeR",
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "860a08cce6e55d9893865cd2e93c2fc1b805adb5",
|
"rev": "3ccb06f5644c4bcdf74ad2e4d388a13ac65207af",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -961,14 +963,14 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_3",
|
"flake-compat": "flake-compat_3",
|
||||||
"nix-index-database": "nix-index-database",
|
"nix-index-database": "nix-index-database",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765855559,
|
"lastModified": 1768475717,
|
||||||
"narHash": "sha256-AUT31hDJliW0fK9G7tfTEDD2me4rIXbBXPu1lf0mVHs=",
|
"narHash": "sha256-185VOlWF4K9gzwr7M56ArjqDt6beN/5TxCYLEyVPOcs=",
|
||||||
"owner": "thiagokokada",
|
"owner": "thiagokokada",
|
||||||
"repo": "nix-alien",
|
"repo": "nix-alien",
|
||||||
"rev": "0eb86c42d1e33e8dbcf771cb67446319517a0a57",
|
"rev": "a579610c67dc946f39c2a64656699eb29eb2ffb5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -979,11 +981,11 @@
|
|||||||
},
|
},
|
||||||
"nix-flatpak": {
|
"nix-flatpak": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739444422,
|
"lastModified": 1767983141,
|
||||||
"narHash": "sha256-iAVVHi7X3kWORftY+LVbRiStRnQEob2TULWyjMS6dWg=",
|
"narHash": "sha256-7ZCulYUD9RmJIDULTRkGLSW1faMpDlPKcbWJLYHoXcs=",
|
||||||
"owner": "gmodena",
|
"owner": "gmodena",
|
||||||
"repo": "nix-flatpak",
|
"repo": "nix-flatpak",
|
||||||
"rev": "5e54c3ca05a7c7d968ae1ddeabe01d2a9bc1e177",
|
"rev": "440818969ac2cbd77bfe025e884d0aa528991374",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1001,11 +1003,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762660502,
|
"lastModified": 1765267181,
|
||||||
"narHash": "sha256-C9F1C31ys0V7mnp4EcDy7L1cLZw/sCTEXqqTtGnvu08=",
|
"narHash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "15c5451c63f4c612874a43846bfe3fa828b03eee",
|
"rev": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1032,11 +1034,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766622938,
|
"lastModified": 1768484090,
|
||||||
"narHash": "sha256-Eovt/DOCYjFFBZuYbbG9j5jhklzxdNbUGVYYxh3lG3s=",
|
"narHash": "sha256-HBIfbB9MF9oqQTxs/W5440mzVaYDBWU9tuX95aZ8h64=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5900a0a8850cbba98e16d5a7a6ed389402dfcf4f",
|
"rev": "d4fa45dc2d4d32c10cb7c6b530a6b4b7d2429442",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1048,11 +1050,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable_2": {
|
"nixpkgs-stable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766687554,
|
"lastModified": 1767313136,
|
||||||
"narHash": "sha256-DegN7KD/EtFSKXf2jvqL6lvev6GlfAAatYBcRC8goEo=",
|
"narHash": "sha256-16KkgfdYqjaeRGBaYsNrhPRRENs0qzkQVUooNHtoy2w=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fd0ca39c92fdb4012ed8d60e1683c26fddadd136",
|
"rev": "ac62194c3917d5f474c1a844b6fd6da2db95077d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1064,15 +1066,15 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1762977756,
|
"lastModified": 1748026106,
|
||||||
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
|
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
|
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "nixos",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
@ -1080,11 +1082,27 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766651565,
|
"lastModified": 1768305791,
|
||||||
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
|
"narHash": "sha256-AIdl6WAn9aymeaH/NvBj0H9qM+XuAuYbGMZaP0zcXAQ=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "1412caf7bf9e660f2f962917c14b1ea1c3bc695e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1768564909,
|
||||||
|
"narHash": "sha256-Kell/SpJYVkHWMvnhqJz/8DqQg2b6PguxVWOuadbHCc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
|
"rev": "e4bae1bd10c9c57b2cf517953ab70060a828ee6f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1094,7 +1112,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_4": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1752077645,
|
"lastModified": 1752077645,
|
||||||
"narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=",
|
"narHash": "sha256-HM791ZQtXV93xtCY+ZxG1REzhQenSQO020cu6rHtAPk=",
|
||||||
@ -1110,7 +1128,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_6": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750776420,
|
"lastModified": 1750776420,
|
||||||
"narHash": "sha256-/CG+w0o0oJ5itVklOoLbdn2dGB0wbZVOoDm4np6w09A=",
|
"narHash": "sha256-/CG+w0o0oJ5itVklOoLbdn2dGB0wbZVOoDm4np6w09A=",
|
||||||
@ -1135,11 +1153,11 @@
|
|||||||
"systems": "systems_3"
|
"systems": "systems_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766721995,
|
"lastModified": 1768486009,
|
||||||
"narHash": "sha256-2qZLSojZFP3AzbC6UNF3ASCIDLahNniR2XP7l/qINm4=",
|
"narHash": "sha256-I7ymDe6UQooHy9I9wrafKCCDnRbox/EMWAgJgpm7fGs=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "66a5dc70e2d8433034bccdbb9c3c7bcecd86f9a6",
|
"rev": "03a638205b5cb04ba9c2ed6c604e137b15f07fa1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1155,11 +1173,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766746448,
|
"lastModified": 1768675584,
|
||||||
"narHash": "sha256-dgK78Dt/t1eU4SsBJ5izfs9wMEotRf5Xm/SB/taraZU=",
|
"narHash": "sha256-YcQRhf1AQv0jHey5DMek5UQvkqSs+Q/yktXEm8ymaRA=",
|
||||||
"owner": "noctalia-dev",
|
"owner": "noctalia-dev",
|
||||||
"repo": "noctalia-shell",
|
"repo": "noctalia-shell",
|
||||||
"rev": "221e05658a6bf12008810418dd31deac145c3c7f",
|
"rev": "1d792b01b4cf2160000f7ef6e9388843cf5106d3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1199,11 +1217,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766741918,
|
"lastModified": 1768671781,
|
||||||
"narHash": "sha256-FOb58l2rT3ZxDY0px1lGFUNPhaSKRcGwH94pWGl3vzQ=",
|
"narHash": "sha256-kW4mzy7wzuW+od/o3Gfg5ONO7nb7U7uUxvEkAyFd9cY=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "f85ac5163eb68087550897c67542a0f478651782",
|
"rev": "1e87169b18457a22e6ef372789e48cd86b81e2ba",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1222,11 +1240,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1765911976,
|
"lastModified": 1767281941,
|
||||||
"narHash": "sha256-t3T/xm8zstHRLx+pIHxVpQTiySbKqcQbK+r+01XVKc0=",
|
"narHash": "sha256-6MkqajPICgugsuZ92OMoQcgSHnD6sJHwk8AxvMcIgTE=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "b68b780b69702a090c8bb1b973bab13756cc7a27",
|
"rev": "f0927703b7b1c8d97511c4116eb9b4ec6645a0fa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1269,16 +1287,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1764663772,
|
"lastModified": 1766725085,
|
||||||
"narHash": "sha256-sHqLmm0wAt3PC4vczJeBozI1/f4rv9yp3IjkClHDXDs=",
|
"narHash": "sha256-O2aMFdDUYJazFrlwL7aSIHbUSEm3ADVZjmf41uBJfHs=",
|
||||||
"ref": "refs/heads/master",
|
"ref": "refs/heads/master",
|
||||||
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
|
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
|
||||||
"revCount": 713,
|
"revCount": 715,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.outfoxxed.me/quickshell/quickshell"
|
"url": "https://git.outfoxxed.me/quickshell/quickshell"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"rev": "26531fc46ef17e9365b03770edd3fb9206fcb460",
|
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.outfoxxed.me/quickshell/quickshell"
|
"url": "https://git.outfoxxed.me/quickshell/quickshell"
|
||||||
}
|
}
|
||||||
@ -1290,11 +1308,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766725085,
|
"lastModified": 1768549203,
|
||||||
"narHash": "sha256-O2aMFdDUYJazFrlwL7aSIHbUSEm3ADVZjmf41uBJfHs=",
|
"narHash": "sha256-DxN7v8g8DO8gGJmgBJMo3fsSR3HEs+DFCXeKeHq61zA=",
|
||||||
"owner": "quickshell-mirror",
|
"owner": "quickshell-mirror",
|
||||||
"repo": "quickshell",
|
"repo": "quickshell",
|
||||||
"rev": "41828c4180fb921df7992a5405f5ff05d2ac2fff",
|
"rev": "d03c59768c680f052dff6e7a7918bbf990b0f743",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1308,7 +1326,6 @@
|
|||||||
"caelestia": "caelestia",
|
"caelestia": "caelestia",
|
||||||
"dank-material-shell": "dank-material-shell",
|
"dank-material-shell": "dank-material-shell",
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
"dgop": "dgop",
|
|
||||||
"disko": "disko",
|
"disko": "disko",
|
||||||
"hardware": "hardware",
|
"hardware": "hardware",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
@ -1321,7 +1338,7 @@
|
|||||||
"niri": "niri",
|
"niri": "niri",
|
||||||
"nix-alien": "nix-alien",
|
"nix-alien": "nix-alien",
|
||||||
"nix-flatpak": "nix-flatpak",
|
"nix-flatpak": "nix-flatpak",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"nixpkgs-stable": "nixpkgs-stable_2",
|
"nixpkgs-stable": "nixpkgs-stable_2",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"noctalia": "noctalia",
|
"noctalia": "noctalia",
|
||||||
@ -1378,11 +1395,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766289575,
|
"lastModified": 1768481291,
|
||||||
"narHash": "sha256-BOKCwOQQIP4p9z8DasT5r+qjri3x7sPCOq+FTjY8Z+o=",
|
"narHash": "sha256-NjKtkJraCZEnLHAJxLTI+BfdU//9coAz9p5TqveZwPU=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "9836912e37aef546029e48c8749834735a6b9dad",
|
"rev": "e085e303dfcce21adcb5fec535d65aacb066f101",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1459,11 +1476,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1763730250,
|
"lastModified": 1767427579,
|
||||||
"narHash": "sha256-OPlKRltdA2iIm70Nw/kWt5FnwxR1xmxC44tqGUX7Hro=",
|
"narHash": "sha256-q9aFfPohbMS6ehkQHReMeIjtld0wGiUsxlHoPRRvsp4=",
|
||||||
"owner": "adriankarlen",
|
"owner": "adriankarlen",
|
||||||
"repo": "textfox",
|
"repo": "textfox",
|
||||||
"rev": "2f385d16abab56984b874627ca0dd4f3ca7ae4ac",
|
"rev": "29c31979e5583d9367247f0af8675f88482ff481",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -1474,7 +1491,7 @@
|
|||||||
},
|
},
|
||||||
"waifu-cursors": {
|
"waifu-cursors": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1755614728,
|
"lastModified": 1755614728,
|
||||||
@ -1551,11 +1568,11 @@
|
|||||||
"xwayland-satellite-unstable": {
|
"xwayland-satellite-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766429945,
|
"lastModified": 1768106915,
|
||||||
"narHash": "sha256-9Kv4gWagx/u4RfZJzBMAoagW9ava5waxd+XoTkzqF7E=",
|
"narHash": "sha256-HlLo9zH4ULRXlmlIK948cHmdVhxyHgTHxGaoCRlW4k8=",
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"rev": "0dde7ca1d3a8e8c5082533d76084e2aa02bef70e",
|
"rev": "72245e108f3b03c3c4474d2de9de2d1830849603",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@ -73,13 +73,13 @@
|
|||||||
# caelestia-cli.inputs.nixpkgs.follows = "nixpkgs";
|
# caelestia-cli.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# DankMaterialShell
|
# DankMaterialShell
|
||||||
dgop.url = "github:AvengeMedia/dgop";
|
# dgop.url = "github:AvengeMedia/dgop";
|
||||||
dgop.inputs.nixpkgs.follows = "nixpkgs";
|
# dgop.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
# dms-cli.url = "github:AvengeMedia/danklinux";
|
# dms-cli.url = "github:AvengeMedia/danklinux";
|
||||||
# dms-cli.inputs.nixpkgs.follows = "nixpkgs";
|
# dms-cli.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
dank-material-shell.url = "github:AvengeMedia/DankMaterialShell";
|
dank-material-shell.url = "github:AvengeMedia/DankMaterialShell";
|
||||||
dank-material-shell.inputs.nixpkgs.follows = "nixpkgs";
|
dank-material-shell.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
dank-material-shell.inputs.dgop.follows = "dgop";
|
# dank-material-shell.inputs.dgop.follows = "dgop";
|
||||||
|
|
||||||
# Hyprland (use flake so plugins are not built from source)
|
# Hyprland (use flake so plugins are not built from source)
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
headless,
|
headless,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) color;
|
inherit (config.homemodules) color;
|
||||||
in
|
in
|
||||||
# This is a HM module.
|
# This is a HM module.
|
||||||
# Because no imports/options/config is defined explicitly, everything is treated as config:
|
# Because no imports/options/config is defined explicitly, everything is treated as config:
|
||||||
@ -25,16 +25,6 @@ in
|
|||||||
# Every module (/function) is called with the same arguments as this module.
|
# Every module (/function) is called with the same arguments as this module.
|
||||||
# Arguments with matching names are "plugged in" into the right slots,
|
# Arguments with matching names are "plugged in" into the right slots,
|
||||||
# the case of different arity is handled by always providing ellipses (...) in module definitions.
|
# the case of different arity is handled by always providing ellipses (...) in module definitions.
|
||||||
imports = [
|
|
||||||
# Import the host-specific HM config.
|
|
||||||
# It will be merged with the main config (like all different modules).
|
|
||||||
# Settings regarding a specific host (e.g. desktop or laptop)
|
|
||||||
# should only be made in the host-specific config.
|
|
||||||
./${hostname}
|
|
||||||
|
|
||||||
# Import all of my custom HM modules.
|
|
||||||
../modules
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable and configure my custom HM modules.
|
# Enable and configure my custom HM modules.
|
||||||
paths = rec {
|
paths = rec {
|
||||||
@ -42,7 +32,7 @@ in
|
|||||||
dotfiles = "${nixflake}/config";
|
dotfiles = "${nixflake}/config";
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = {
|
homemodules = {
|
||||||
beets.enable = !headless;
|
beets.enable = !headless;
|
||||||
|
|
||||||
btop.enable = true;
|
btop.enable = true;
|
||||||
@ -99,7 +89,7 @@ in
|
|||||||
|
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = nixosConfig.programs.hyprland.enable;
|
enable = nixosConfig.programs.hyprland.enable;
|
||||||
dunst.enable = !config.modules.hyprpanel.enable; # Disable for hyprpanel
|
dunst.enable = !config.homemodules.hyprpanel.enable; # Disable for hyprpanel
|
||||||
bars.enable = false;
|
bars.enable = false;
|
||||||
dynamicCursor.enable = false;
|
dynamicCursor.enable = false;
|
||||||
trails.enable = true;
|
trails.enable = true;
|
||||||
@ -112,14 +102,14 @@ in
|
|||||||
|
|
||||||
bindings = lib.mergeAttrsList [
|
bindings = lib.mergeAttrsList [
|
||||||
# Use Rofi if we don't have caelestia
|
# Use Rofi if we don't have caelestia
|
||||||
(lib.optionalAttrs (!config.modules.hyprland.caelestia.enable) {
|
(lib.optionalAttrs (!config.homemodules.hyprland.caelestia.enable) {
|
||||||
"$mainMod, a" = ["exec, rofi -drun-show-actions -show drun"];
|
"$mainMod, a" = ["exec, rofi -drun-show-actions -show drun"];
|
||||||
"$mainMod, c" = ["exec, clipman pick --tool=rofi"];
|
"$mainMod, c" = ["exec, clipman pick --tool=rofi"];
|
||||||
"$mainMod SHIFT, l" = ["exec, loginctl lock-session"];
|
"$mainMod SHIFT, l" = ["exec, loginctl lock-session"];
|
||||||
})
|
})
|
||||||
|
|
||||||
# Caelestia
|
# Caelestia
|
||||||
(lib.optionalAttrs (config.modules.hyprland.caelestia.enable) {
|
(lib.optionalAttrs (config.homemodules.hyprland.caelestia.enable) {
|
||||||
"$mainMod, a" = ["exec, caelestia shell drawers toggle launcher"];
|
"$mainMod, a" = ["exec, caelestia shell drawers toggle launcher"];
|
||||||
# "$mainMod, c" = ["exec, caelestia clipboard"];
|
# "$mainMod, c" = ["exec, caelestia clipboard"];
|
||||||
"$mainMod SHIFT, l" = ["exec, caelestia shell lock lock"];
|
"$mainMod SHIFT, l" = ["exec, caelestia shell lock lock"];
|
||||||
@ -318,10 +308,10 @@ in
|
|||||||
# as nixosConfig won't be available otherwise.
|
# as nixosConfig won't be available otherwise.
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true; # This only does xdg path management
|
enable = true; # This only does xdg path management
|
||||||
mime.enable = nixosConfig.modules.mime.enable;
|
mime.enable = nixosConfig.systemmodules.mime.enable;
|
||||||
|
|
||||||
mimeApps = {
|
mimeApps = {
|
||||||
enable = nixosConfig.modules.mime.enable;
|
enable = nixosConfig.systemmodules.mime.enable;
|
||||||
|
|
||||||
associations.added = nixosConfig.xdg.mime.addedAssociations;
|
associations.added = nixosConfig.xdg.mime.addedAssociations;
|
||||||
associations.removed = nixosConfig.xdg.mime.removedAssociations;
|
associations.removed = nixosConfig.xdg.mime.removedAssociations;
|
||||||
@ -392,7 +382,7 @@ in
|
|||||||
config.lib.file.mkOutOfStoreSymlink
|
config.lib.file.mkOutOfStoreSymlink
|
||||||
nixosConfig.sops.templates."nix.conf".path;
|
nixosConfig.sops.templates."nix.conf".path;
|
||||||
}
|
}
|
||||||
(lib.mkIf nixosConfig.modules.desktopportal.termfilechooser.enable {
|
(lib.mkIf nixosConfig.systemmodules.desktopportal.termfilechooser.enable {
|
||||||
".config/xdg-desktop-portal-termfilechooser/config".text = ''
|
".config/xdg-desktop-portal-termfilechooser/config".text = ''
|
||||||
[filechooser]
|
[filechooser]
|
||||||
cmd=${pkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh
|
cmd=${pkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh
|
||||||
@ -402,7 +392,7 @@ in
|
|||||||
save_mode = last
|
save_mode = last
|
||||||
'';
|
'';
|
||||||
})
|
})
|
||||||
(lib.mkIf config.modules.git.enable {
|
(lib.mkIf config.homemodules.git.enable {
|
||||||
".ssh/allowed_signers".text = "* ${publicKeys.${username}.ssh}";
|
".ssh/allowed_signers".text = "* ${publicKeys.${username}.ssh}";
|
||||||
})
|
})
|
||||||
(lib.mkIf config.programs.navi.enable {
|
(lib.mkIf config.programs.navi.enable {
|
||||||
@ -487,6 +477,8 @@ in
|
|||||||
lazyjournal # Journalctl viewer
|
lazyjournal # Journalctl viewer
|
||||||
systemctl-tui
|
systemctl-tui
|
||||||
restic # Backups
|
restic # Backups
|
||||||
|
gnumake
|
||||||
|
just
|
||||||
|
|
||||||
# Hardware/Software info
|
# Hardware/Software info
|
||||||
pciutils # lspci
|
pciutils # lspci
|
||||||
@ -508,7 +500,7 @@ in
|
|||||||
imagemagick # Convert image (magic)
|
imagemagick # Convert image (magic)
|
||||||
mp3val # Validate mp3 files
|
mp3val # Validate mp3 files
|
||||||
flac # Validate flac files
|
flac # Validate flac files
|
||||||
spotdl
|
# spotdl
|
||||||
|
|
||||||
# Document utils
|
# Document utils
|
||||||
poppler-utils # pdfunite
|
poppler-utils # pdfunite
|
||||||
@ -526,7 +518,7 @@ in
|
|||||||
gping # ping with graph
|
gping # ping with graph
|
||||||
curlie # curl a'la httpie
|
curlie # curl a'la httpie
|
||||||
wget # download that shit
|
wget # download that shit
|
||||||
dogdns # dns client
|
doggo # dns client
|
||||||
rsync # cp on steroids
|
rsync # cp on steroids
|
||||||
rclone # Rsync for cloud
|
rclone # Rsync for cloud
|
||||||
httpie # Cool http client
|
httpie # Cool http client
|
||||||
@ -569,11 +561,8 @@ in
|
|||||||
audacity
|
audacity
|
||||||
ferdium
|
ferdium
|
||||||
gparted
|
gparted
|
||||||
tidal-hifi
|
# feishin # electron :(
|
||||||
tidal-dl-ng
|
jellyfin-tui
|
||||||
picard
|
|
||||||
handbrake
|
|
||||||
teamspeak6-client
|
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
kdePackages.wacomtablet # For xournalpp/krita
|
kdePackages.wacomtablet # For xournalpp/krita
|
||||||
@ -654,7 +643,7 @@ in
|
|||||||
|
|
||||||
eza = {
|
eza = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: Module
|
# TODO: Module
|
||||||
@ -811,7 +800,7 @@ in
|
|||||||
|
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
imv = {
|
imv = {
|
||||||
@ -829,7 +818,7 @@ in
|
|||||||
|
|
||||||
keychain = {
|
keychain = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
enableXsessionIntegration = !headless;
|
enableXsessionIntegration = !headless;
|
||||||
keys = ["id_ed25519"];
|
keys = ["id_ed25519"];
|
||||||
};
|
};
|
||||||
@ -843,12 +832,12 @@ in
|
|||||||
|
|
||||||
navi = {
|
navi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix-index = {
|
nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
nushell.enable = false;
|
nushell.enable = false;
|
||||||
@ -940,7 +929,7 @@ in
|
|||||||
|
|
||||||
zoxide = {
|
zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -8,12 +8,8 @@
|
|||||||
username,
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
|
||||||
../../modules
|
|
||||||
];
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
modules = {
|
homemodules = {
|
||||||
btop.cuda = true;
|
btop.cuda = true;
|
||||||
|
|
||||||
# This has been relocated here from the default config,
|
# This has been relocated here from the default config,
|
||||||
@ -123,9 +119,10 @@
|
|||||||
# jetbrains.idea-ultimate
|
# jetbrains.idea-ultimate
|
||||||
# jetbrains.webstorm
|
# jetbrains.webstorm
|
||||||
# jetbrains.rider
|
# jetbrains.rider
|
||||||
|
zed-editor
|
||||||
|
vscode
|
||||||
|
|
||||||
# Unity Stuff
|
# Unity Stuff
|
||||||
# TODO: Unity module
|
|
||||||
# unityhub
|
# unityhub
|
||||||
# rider-unity
|
# rider-unity
|
||||||
# dotnetCore
|
# dotnetCore
|
||||||
@ -136,12 +133,20 @@
|
|||||||
godot_4
|
godot_4
|
||||||
(obs-studio.override {cudaSupport = true;})
|
(obs-studio.override {cudaSupport = true;})
|
||||||
kdePackages.kdenlive
|
kdePackages.kdenlive
|
||||||
|
# davinci-resolve
|
||||||
krita
|
krita
|
||||||
makemkv
|
makemkv
|
||||||
lrcget
|
lrcget
|
||||||
msty
|
# msty
|
||||||
# jellyfin-media-player # CVE, can't install
|
# jellyfin-media-player # CVE, can't install
|
||||||
|
jellyfin-desktop
|
||||||
jellyfin-mpv-shim
|
jellyfin-mpv-shim
|
||||||
|
# tidal-hifi
|
||||||
|
# tidal-dl-ng # TODO: Borked
|
||||||
|
tiddl
|
||||||
|
picard
|
||||||
|
handbrake
|
||||||
|
teamspeak6-client
|
||||||
|
|
||||||
steam-devices-udev-rules
|
steam-devices-udev-rules
|
||||||
];
|
];
|
||||||
@ -177,7 +182,7 @@
|
|||||||
|
|
||||||
services = {
|
services = {
|
||||||
ollama = {
|
ollama = {
|
||||||
enable = true;
|
enable = false;
|
||||||
acceleration = "cuda";
|
acceleration = "cuda";
|
||||||
# home = "/var/lib/ollama";
|
# home = "/var/lib/ollama";
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,7 @@
|
|||||||
# Here goes the stuff that will only be enabled on the laptop
|
# Here goes the stuff that will only be enabled on the laptop
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = [
|
|
||||||
../../modules
|
|
||||||
];
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
modules = {
|
homemodules = {
|
||||||
hyprland = {
|
hyprland = {
|
||||||
keyboard = {
|
keyboard = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
|
|||||||
@ -6,12 +6,8 @@
|
|||||||
username,
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
|
||||||
../../modules
|
|
||||||
];
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
modules = {
|
homemodules = {
|
||||||
btop.cuda = true;
|
btop.cuda = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -6,10 +6,6 @@
|
|||||||
username,
|
username,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
|
||||||
../../modules
|
|
||||||
];
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
docker-compose
|
docker-compose
|
||||||
|
|||||||
14
home/homemodules/0_template/default.nix
Normal file
14
home/homemodules/0_template/default.nix
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
nixosConfig,
|
||||||
|
lib,
|
||||||
|
mylib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (config.homemodules) TEMPLATE color;
|
||||||
|
in {
|
||||||
|
options.homemodules.TEMPLATE = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
|
config = lib.mkIf TEMPLATE.enable {};
|
||||||
|
}
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) ags;
|
inherit (config.homemodules) ags;
|
||||||
in {
|
in {
|
||||||
options.modules.ags = import ./options.nix {inherit lib mylib;};
|
options.homemodules.ags = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf ags.enable {
|
config = lib.mkIf ags.enable {
|
||||||
programs.ags = {
|
programs.ags = {
|
||||||
@ -68,7 +68,7 @@ in {
|
|||||||
# ".config/ags".source = config.lib.file.mkOutOfStoreSymlink "${config.paths.nixflake}/home/modules/ags/config";
|
# ".config/ags".source = config.lib.file.mkOutOfStoreSymlink "${config.paths.nixflake}/home/modules/ags/config";
|
||||||
|
|
||||||
# NOTE: Don't symlink to ~/.config/ags/colors.scss, since that is already used by configDir
|
# NOTE: Don't symlink to ~/.config/ags/colors.scss, since that is already used by configDir
|
||||||
".config/_colors.scss".text = with config.modules.color.hex; ''
|
".config/_colors.scss".text = with config.homemodules.color.hex; ''
|
||||||
$dark-rosewater: #${dark.rosewater};
|
$dark-rosewater: #${dark.rosewater};
|
||||||
$dark-flamingo: #${dark.flamingo};
|
$dark-flamingo: #${dark.flamingo};
|
||||||
$dark-pink: #${dark.pink};
|
$dark-pink: #${dark.pink};
|
||||||
@ -5,9 +5,9 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.alacritty;
|
cfg = config.homemodules.alacritty;
|
||||||
in {
|
in {
|
||||||
options.modules.alacritty = import ./options.nix {inherit lib mylib;};
|
options.homemodules.alacritty = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
@ -8,14 +8,14 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.audio;
|
cfg = config.homemodules.audio;
|
||||||
cfgfp = config.modules.flatpak;
|
cfgfp = config.homemodules.flatpak;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../flatpak
|
../flatpak
|
||||||
];
|
];
|
||||||
|
|
||||||
options.modules.audio = import ./options.nix {inherit lib mylib;};
|
options.homemodules.audio = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
@ -12,13 +12,13 @@ with lib;
|
|||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
# This is the current state of the option that this module defines
|
# This is the current state of the option that this module defines
|
||||||
# We use it to determine if the config should be changed below
|
# We use it to determine if the config should be changed below
|
||||||
cfg = config.modules.emacs;
|
cfg = config.homemodules.emacs;
|
||||||
in {
|
in {
|
||||||
imports = [];
|
imports = [];
|
||||||
|
|
||||||
# Options is a vector of options this module defines
|
# Options is a vector of options this module defines
|
||||||
# This module defines only the "emacs" option and suboptions "enable" and "doom"
|
# This module defines only the "emacs" option and suboptions "enable" and "doom"
|
||||||
options.modules.emacs = import ./options.nix {inherit lib mylib;};
|
options.homemodules.emacs = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
# Config is the merged set of all module configurations
|
# Config is the merged set of all module configurations
|
||||||
# Here we define what happens to the config if the module is active (but only if the module is active)
|
# Here we define what happens to the config if the module is active (but only if the module is active)
|
||||||
@ -13,9 +13,9 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.email;
|
cfg = config.homemodules.email;
|
||||||
in {
|
in {
|
||||||
options.modules.email = import ./options.nix {inherit lib mylib;};
|
options.homemodules.email = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
# TODO: Add Maildir to nextcloud sync
|
# TODO: Add Maildir to nextcloud sync
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
@ -12,9 +12,9 @@ with mylib.modules;
|
|||||||
# It is important that every flatpak interaction is handled through this module
|
# It is important that every flatpak interaction is handled through this module
|
||||||
# to prevent that anything is removed by a module although it is required by another one
|
# to prevent that anything is removed by a module although it is required by another one
|
||||||
let
|
let
|
||||||
cfg = config.modules.flatpak;
|
cfg = config.homemodules.flatpak;
|
||||||
in {
|
in {
|
||||||
options.modules.flatpak = import ./options.nix {inherit lib mylib;};
|
options.homemodules.flatpak = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
@ -7,11 +7,11 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.gaming;
|
cfg = config.homemodules.gaming;
|
||||||
cfgfp = config.modules.flatpak;
|
cfgfp = config.homemodules.flatpak;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
# NOTE: I don't know if this is the right approach or if I should use config.modules.flatpak
|
# NOTE: I don't know if this is the right approach or if I should use config.homemodules.flatpak
|
||||||
../flatpak
|
../flatpak
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ in {
|
|||||||
# TODO: SteamTinkerLaunch option
|
# TODO: SteamTinkerLaunch option
|
||||||
# TODO: Dolphin + SteamRomManager option
|
# TODO: Dolphin + SteamRomManager option
|
||||||
|
|
||||||
options.modules.gaming = import ./options.nix {inherit lib mylib;};
|
options.homemodules.gaming = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
@ -10,9 +10,9 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.helix;
|
cfg = config.homemodules.helix;
|
||||||
in {
|
in {
|
||||||
options.modules.helix = import ./options.nix {inherit lib mylib;};
|
options.homemodules.helix = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
@ -9,9 +9,9 @@
|
|||||||
# TODO: Remove this module, put protonmail into the email module
|
# TODO: Remove this module, put protonmail into the email module
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.misc;
|
cfg = config.homemodules.misc;
|
||||||
in {
|
in {
|
||||||
options.modules.misc = import ./options.nix {inherit lib mylib;};
|
options.homemodules.misc = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
@ -12,9 +12,9 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.nextcloud;
|
cfg = config.homemodules.nextcloud;
|
||||||
in {
|
in {
|
||||||
options.modules.nextcloud = import ./options.nix {inherit lib mylib;};
|
options.homemodules.nextcloud = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
@ -8,9 +8,9 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.ranger;
|
cfg = config.homemodules.ranger;
|
||||||
in {
|
in {
|
||||||
options.modules.ranger = import ./options.nix {inherit lib mylib;};
|
options.homemodules.ranger = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
@ -9,9 +9,9 @@
|
|||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
with mylib.modules; let
|
with mylib.modules; let
|
||||||
cfg = config.modules.vscode;
|
cfg = config.homemodules.vscode;
|
||||||
in {
|
in {
|
||||||
options.modules.vscode = import ./options.nix {inherit lib mylib;};
|
options.homemodules.vscode = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) beets;
|
inherit (config.homemodules) beets;
|
||||||
in {
|
in {
|
||||||
options.modules.beets = import ./options.nix {inherit lib mylib;};
|
options.homemodules.beets = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf beets.enable {
|
config = lib.mkIf beets.enable {
|
||||||
programs.beets = {
|
programs.beets = {
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) btop color;
|
inherit (config.homemodules) btop color;
|
||||||
in {
|
in {
|
||||||
options.modules.btop = import ./options.nix {inherit lib mylib;};
|
options.homemodules.btop = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf btop.enable {
|
config = lib.mkIf btop.enable {
|
||||||
programs.btop = {
|
programs.btop = {
|
||||||
@ -5,9 +5,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) chromium;
|
inherit (config.homemodules) chromium;
|
||||||
in {
|
in {
|
||||||
options.modules.chromium = import ./options.nix {inherit lib mylib;};
|
options.homemodules.chromium = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf chromium.enable {
|
config = lib.mkIf chromium.enable {
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
@ -5,9 +5,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) color;
|
inherit (config.homemodules) color;
|
||||||
in {
|
in {
|
||||||
options.modules.color = import ./options.nix {inherit lib mylib pkgs;};
|
options.homemodules.color = import ./options.nix {inherit lib mylib pkgs;};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
home.packages = let
|
home.packages = let
|
||||||
@ -59,7 +59,7 @@ in {
|
|||||||
++ (lib.optionals color.installPackages color.extraPackages);
|
++ (lib.optionals color.installPackages color.extraPackages);
|
||||||
|
|
||||||
# This module sets its own options to the values specified in a colorscheme file.
|
# This module sets its own options to the values specified in a colorscheme file.
|
||||||
modules.color = let
|
homemodules.color = let
|
||||||
scheme = import ./schemes/${color.scheme}.nix;
|
scheme = import ./schemes/${color.scheme}.nix;
|
||||||
|
|
||||||
# Add the aliases
|
# Add the aliases
|
||||||
@ -5,9 +5,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) docs;
|
inherit (config.homemodules) docs;
|
||||||
in {
|
in {
|
||||||
options.modules.docs = import ./options.nix {inherit lib mylib;};
|
options.homemodules.docs = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf docs.enable {
|
config = lib.mkIf docs.enable {
|
||||||
home = {
|
home = {
|
||||||
@ -5,9 +5,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) fcitx;
|
inherit (config.homemodules) fcitx;
|
||||||
in {
|
in {
|
||||||
options.modules.fcitx = import ./options.nix {inherit lib mylib;};
|
options.homemodules.fcitx = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf fcitx.enable {
|
config = lib.mkIf fcitx.enable {
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = {
|
||||||
@ -69,6 +69,7 @@ in [
|
|||||||
(mkBm "Rust" "https://doc.rust-lang.org/stable/book/ch03-00-common-programming-concepts.html")
|
(mkBm "Rust" "https://doc.rust-lang.org/stable/book/ch03-00-common-programming-concepts.html")
|
||||||
(mkBm "RustOS" "https://os.phil-opp.com/")
|
(mkBm "RustOS" "https://os.phil-opp.com/")
|
||||||
(mkBm "Interpreters" "https://craftinginterpreters.com/contents.html")
|
(mkBm "Interpreters" "https://craftinginterpreters.com/contents.html")
|
||||||
|
(mkBm "Godbolt" "https://godbolt.org")
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@ -6,15 +6,15 @@
|
|||||||
hostname,
|
hostname,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) firefox color;
|
inherit (config.homemodules) firefox color;
|
||||||
in {
|
in {
|
||||||
options.modules.firefox = import ./options.nix {inherit lib mylib;};
|
options.homemodules.firefox = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf firefox.enable {
|
config = lib.mkIf firefox.enable {
|
||||||
textfox = {
|
textfox = {
|
||||||
enable = firefox.textfox;
|
enable = firefox.textfox;
|
||||||
useLegacyExtensions = false;
|
useLegacyExtensions = false;
|
||||||
profile = "default";
|
profiles = ["default"];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
background = {
|
background = {
|
||||||
@ -243,7 +243,7 @@ in {
|
|||||||
# catppuccin-web-file-icons
|
# catppuccin-web-file-icons
|
||||||
clearurls
|
clearurls
|
||||||
# cookie-autodelete
|
# cookie-autodelete
|
||||||
dark-background-light-text
|
# dark-background-light-text
|
||||||
display-_anchors # Easier linking to specific website parts
|
display-_anchors # Easier linking to specific website parts
|
||||||
don-t-fuck-with-paste
|
don-t-fuck-with-paste
|
||||||
# enhancer-for-youtube # Discontinued, use tweaks-for-youtube
|
# enhancer-for-youtube # Discontinued, use tweaks-for-youtube
|
||||||
@ -7,9 +7,9 @@
|
|||||||
nixosConfig,
|
nixosConfig,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) fish color;
|
inherit (config.homemodules) fish color;
|
||||||
in {
|
in {
|
||||||
options.modules.fish = import ./options.nix {inherit lib mylib;};
|
options.homemodules.fish = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf fish.enable {
|
config = lib.mkIf fish.enable {
|
||||||
# https://github.com/catppuccin/fish/blob/main/themes/Catppuccin%20Mocha.theme
|
# https://github.com/catppuccin/fish/blob/main/themes/Catppuccin%20Mocha.theme
|
||||||
@ -47,7 +47,7 @@ in {
|
|||||||
generateCompletions = nixosConfig.programs.fish.generateCompletions;
|
generateCompletions = nixosConfig.programs.fish.generateCompletions;
|
||||||
|
|
||||||
functions = lib.mergeAttrsList [
|
functions = lib.mergeAttrsList [
|
||||||
(lib.optionalAttrs config.modules.nnn.enable {
|
(lib.optionalAttrs config.homemodules.nnn.enable {
|
||||||
nnncd = {
|
nnncd = {
|
||||||
wraps = "nnn";
|
wraps = "nnn";
|
||||||
description = "support nnn quit and change directory";
|
description = "support nnn quit and change directory";
|
||||||
@ -101,7 +101,7 @@ in {
|
|||||||
# Same as above but with args for bat
|
# Same as above but with args for bat
|
||||||
batifyWithArgs = command: args: command + (lib.optionalString config.programs.bat.enable (" | bat " + args));
|
batifyWithArgs = command: args: command + (lib.optionalString config.programs.bat.enable (" | bat " + args));
|
||||||
|
|
||||||
# These can be used for my config.modules and for HM config.programs,
|
# These can be used for my config.homemodules and for HM config.programs,
|
||||||
# as both of these add the package to home.packages
|
# as both of these add the package to home.packages
|
||||||
hasHomePackage = package: (mylib.modules.contains config.home.packages package);
|
hasHomePackage = package: (mylib.modules.contains config.home.packages package);
|
||||||
|
|
||||||
@ -167,15 +167,15 @@ in {
|
|||||||
gcl = "git clone";
|
gcl = "git clone";
|
||||||
})
|
})
|
||||||
|
|
||||||
(lib.optionalAttrs config.modules.kitty.enable {ssh = "kitty +kitten ssh";})
|
(lib.optionalAttrs config.homemodules.kitty.enable {ssh = "kitty +kitten ssh";})
|
||||||
|
|
||||||
(abbrify pkgs.lazygit {lg = "lazygit";})
|
(abbrify pkgs.lazygit {lg = "lazygit";})
|
||||||
|
|
||||||
(abbrify pkgs.nix-search-tv {search = "nix-search-tv print --indexes 'nixos,home-manager,nixpkgs,nur' | fzf --preview 'nix-search-tv preview {}' --scheme history";})
|
(abbrify pkgs.nix-search-tv {search = "nix-search-tv print --indexes 'nixos,home-manager,nixpkgs,nur' | fzf --preview 'nix-search-tv preview {}' --scheme history";})
|
||||||
|
|
||||||
# Doesn't work with abbrify because I have nnn.override...
|
# Doesn't work with abbrify because I have nnn.override...
|
||||||
(lib.optionalAttrs config.modules.nnn.enable {n = "nnncd -a";})
|
(lib.optionalAttrs config.homemodules.nnn.enable {n = "nnncd -a";})
|
||||||
(lib.optionalAttrs config.modules.nnn.enable {np = "nnncd -a -P p";})
|
(lib.optionalAttrs config.homemodules.nnn.enable {np = "nnncd -a -P p";})
|
||||||
|
|
||||||
(abbrify pkgs.ranger {r = "ranger --choosedir=$HOME/.rangerdir; set LASTDIR (cat $HOME/.rangerdir); cd $LASTDIR";})
|
(abbrify pkgs.ranger {r = "ranger --choosedir=$HOME/.rangerdir; set LASTDIR (cat $HOME/.rangerdir); cd $LASTDIR";})
|
||||||
|
|
||||||
@ -184,7 +184,7 @@ in {
|
|||||||
# grep = rg;
|
# grep = rg;
|
||||||
})
|
})
|
||||||
|
|
||||||
(lib.optionalAttrs config.modules.rmpc.enable {r = "rcmp";})
|
(lib.optionalAttrs config.homemodules.rmpc.enable {r = "rcmp";})
|
||||||
|
|
||||||
(abbrify pkgs.rsync rec {
|
(abbrify pkgs.rsync rec {
|
||||||
rsync = "rsync -ahv --inplace --partial --info=progress2";
|
rsync = "rsync -ahv --inplace --partial --info=progress2";
|
||||||
@ -197,7 +197,7 @@ in {
|
|||||||
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = config.modules.fish.enable;
|
enableFishIntegration = config.homemodules.fish.enable;
|
||||||
settings = {
|
settings = {
|
||||||
# Other config here
|
# Other config here
|
||||||
format = "$all"; # Remove this line to disable the default prompt format
|
format = "$all"; # Remove this line to disable the default prompt format
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) git;
|
inherit (config.homemodules) git;
|
||||||
in {
|
in {
|
||||||
options.modules.git = import ./options.nix {inherit lib mylib;};
|
options.homemodules.git = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf git.enable {
|
config = lib.mkIf git.enable {
|
||||||
programs.diff-so-fancy = {
|
programs.diff-so-fancy = {
|
||||||
@ -8,7 +8,7 @@
|
|||||||
username,
|
username,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) hyprland color;
|
inherit (config.homemodules) hyprland color;
|
||||||
|
|
||||||
# Autostart programs
|
# Autostart programs
|
||||||
always-exec = import ./autostart.nix {inherit lib pkgs config hyprland;};
|
always-exec = import ./autostart.nix {inherit lib pkgs config hyprland;};
|
||||||
@ -22,7 +22,7 @@
|
|||||||
"$mainMod, mouse:273" = ["resizewindow"];
|
"$mainMod, mouse:273" = ["resizewindow"];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options.modules.hyprland = import ./options.nix {inherit lib mylib;};
|
options.homemodules.hyprland = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf hyprland.enable {
|
config = lib.mkIf hyprland.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
@ -46,7 +46,7 @@ in {
|
|||||||
iconTheme.name = color.iconTheme;
|
iconTheme.name = color.iconTheme;
|
||||||
};
|
};
|
||||||
|
|
||||||
modules = {
|
homemodules = {
|
||||||
hyprpanel.enable = hyprland.hyprpanel.enable;
|
hyprpanel.enable = hyprland.hyprpanel.enable;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
global = {
|
global = {
|
||||||
monitor = config.modules.waybar.monitor;
|
monitor = config.homemodules.waybar.monitor;
|
||||||
font = "${color.font} 11";
|
font = "${color.font} 11";
|
||||||
offset = "10x10";
|
offset = "10x10";
|
||||||
background = color.hexS.base;
|
background = color.hexS.base;
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) hyprpanel color;
|
inherit (config.homemodules) hyprpanel color;
|
||||||
in {
|
in {
|
||||||
options.modules.hyprpanel = import ./options.nix {inherit lib mylib;};
|
options.homemodules.hyprpanel = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf hyprpanel.enable {
|
config = lib.mkIf hyprpanel.enable {
|
||||||
programs.hyprpanel = {
|
programs.hyprpanel = {
|
||||||
@ -5,9 +5,9 @@
|
|||||||
mylib,
|
mylib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) kitty color;
|
inherit (config.homemodules) kitty color;
|
||||||
in {
|
in {
|
||||||
options.modules.kitty = import ./options.nix {inherit lib mylib;};
|
options.homemodules.kitty = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf kitty.enable {
|
config = lib.mkIf kitty.enable {
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
@ -15,7 +15,7 @@ in {
|
|||||||
shellIntegration.enableFishIntegration = true;
|
shellIntegration.enableFishIntegration = true;
|
||||||
|
|
||||||
font = {
|
font = {
|
||||||
name = "${config.modules.color.font}";
|
name = "${config.homemodules.color.font}";
|
||||||
size = 12;
|
size = 12;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) lazygit color;
|
inherit (config.homemodules) lazygit color;
|
||||||
in {
|
in {
|
||||||
options.modules.lazygit = import ./options.nix {inherit lib mylib;};
|
options.homemodules.lazygit = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf lazygit.enable {
|
config = lib.mkIf lazygit.enable {
|
||||||
programs.lazygit = {
|
programs.lazygit = {
|
||||||
@ -6,9 +6,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) mpd;
|
inherit (config.homemodules) mpd;
|
||||||
in {
|
in {
|
||||||
options.modules.mpd = import ./options.nix {inherit lib mylib;};
|
options.homemodules.mpd = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf mpd.enable {
|
config = lib.mkIf mpd.enable {
|
||||||
services = {
|
services = {
|
||||||
@ -10,9 +10,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (config.modules) neovim color;
|
inherit (config.homemodules) neovim color;
|
||||||
in {
|
in {
|
||||||
options.modules.neovim = import ./options.nix {inherit lib mylib;};
|
options.homemodules.neovim = import ./options.nix {inherit lib mylib;};
|
||||||
|
|
||||||
config = lib.mkIf neovim.enable {
|
config = lib.mkIf neovim.enable {
|
||||||
home = {
|
home = {
|
||||||
@ -38,7 +38,6 @@ in {
|
|||||||
ltex-ls # TODO: Only enable on-demand
|
ltex-ls # TODO: Only enable on-demand
|
||||||
lua-language-server
|
lua-language-server
|
||||||
# nil
|
# nil
|
||||||
nixd
|
|
||||||
basedpyright
|
basedpyright
|
||||||
pyrefly
|
pyrefly
|
||||||
ty
|
ty
|
||||||
@ -50,6 +49,8 @@ in {
|
|||||||
tinymist
|
tinymist
|
||||||
typescript
|
typescript
|
||||||
vscode-langservers-extracted # includes nodejs
|
vscode-langservers-extracted # includes nodejs
|
||||||
|
autotools-language-server
|
||||||
|
just-lsp
|
||||||
|
|
||||||
# Linters
|
# Linters
|
||||||
checkstyle # java
|
checkstyle # java
|
||||||
@ -64,7 +65,6 @@ in {
|
|||||||
# statix # nix (doesn't recognize pipe operator)
|
# statix # nix (doesn't recognize pipe operator)
|
||||||
|
|
||||||
# Formatters
|
# Formatters
|
||||||
alejandra # nix
|
|
||||||
cljfmt
|
cljfmt
|
||||||
python313Packages.black
|
python313Packages.black
|
||||||
google-java-format
|
google-java-format
|
||||||
@ -75,6 +75,8 @@ in {
|
|||||||
rustfmt
|
rustfmt
|
||||||
stylua
|
stylua
|
||||||
typstyle
|
typstyle
|
||||||
|
mbake
|
||||||
|
just-formatter
|
||||||
])
|
])
|
||||||
|
|
||||||
[
|
[
|
||||||
@ -83,6 +85,9 @@ in {
|
|||||||
# Dependencies
|
# Dependencies
|
||||||
lua54Packages.jsregexp # For tree-sitter
|
lua54Packages.jsregexp # For tree-sitter
|
||||||
# nodejs_latest
|
# nodejs_latest
|
||||||
|
|
||||||
|
nixd
|
||||||
|
alejandra # nix
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@ -511,8 +516,10 @@ in {
|
|||||||
html = ["prettierd" "prettier"];
|
html = ["prettierd" "prettier"];
|
||||||
java = ["google-java-format"];
|
java = ["google-java-format"];
|
||||||
javascript = ["prettierd" "prettier"];
|
javascript = ["prettierd" "prettier"];
|
||||||
|
just = ["just"];
|
||||||
latex = ["tex-fmt"];
|
latex = ["tex-fmt"];
|
||||||
lua = ["stylua"];
|
lua = ["stylua"];
|
||||||
|
make = ["bake"];
|
||||||
markdown = ["prettierd" "prettier"];
|
markdown = ["prettierd" "prettier"];
|
||||||
nix = ["alejandra"];
|
nix = ["alejandra"];
|
||||||
python = ["black"];
|
python = ["black"];
|
||||||
@ -842,15 +849,14 @@ in {
|
|||||||
{
|
{
|
||||||
name = "clangd";
|
name = "clangd";
|
||||||
extraOptions = {
|
extraOptions = {
|
||||||
root_markers = [
|
# root_markers = [
|
||||||
"Makefile"
|
# "Makefile"
|
||||||
"CMakeLists.txt"
|
# "CMakeLists.txt"
|
||||||
".clang-format"
|
# ".clang-format"
|
||||||
".clang-tidy"
|
# ".clang-tidy"
|
||||||
"compile_commands.json"
|
# "compile_commands.json"
|
||||||
];
|
# ];
|
||||||
|
# workspace_required = true;
|
||||||
workspace_required = true;
|
|
||||||
|
|
||||||
cmd = [
|
cmd = [
|
||||||
"clangd"
|
"clangd"
|
||||||
@ -877,6 +883,7 @@ in {
|
|||||||
{name = "cmake";}
|
{name = "cmake";}
|
||||||
{name = "cssls";}
|
{name = "cssls";}
|
||||||
{name = "html";} # vscode-langservers-extracted
|
{name = "html";} # vscode-langservers-extracted
|
||||||
|
{name = "just-lsp";} # TODO: Doesn't autostart?
|
||||||
{name = "lua_ls";}
|
{name = "lua_ls";}
|
||||||
{
|
{
|
||||||
name = "ltex";
|
name = "ltex";
|
||||||
@ -887,12 +894,13 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{name = "autotools-language-server";}
|
||||||
# {name = "nil_ls";}
|
# {name = "nil_ls";}
|
||||||
{
|
{
|
||||||
name = "nixd";
|
name = "nixd";
|
||||||
extraOptions.cmd = [
|
extraOptions.cmd = [
|
||||||
"nixd"
|
"nixd"
|
||||||
"--inlay-hints=false"
|
"--inlay-hints=true"
|
||||||
"--semantic-tokens=true"
|
"--semantic-tokens=true"
|
||||||
];
|
];
|
||||||
extraOptions.settings = {
|
extraOptions.settings = {
|
||||||
@ -1836,9 +1844,7 @@ in {
|
|||||||
# _treesitter-context # Ugly
|
# _treesitter-context # Ugly
|
||||||
# _treesitter-refactor # Ugly
|
# _treesitter-refactor # Ugly
|
||||||
];
|
];
|
||||||
lazy = true;
|
lazy = false;
|
||||||
cmd = ["TSModuleInfo"];
|
|
||||||
event = ["BufReadPost" "BufNewFile"];
|
|
||||||
init = ''
|
init = ''
|
||||||
function()
|
function()
|
||||||
-- Fix treesitter grammars/parsers on nix
|
-- Fix treesitter grammars/parsers on nix
|
||||||
@ -1848,7 +1854,10 @@ in {
|
|||||||
'';
|
'';
|
||||||
config = ''
|
config = ''
|
||||||
function(_, opts)
|
function(_, opts)
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
-- require("nvim-treesitter.configs").setup(opts)
|
||||||
|
require("nvim-treesitter").setup(opts)
|
||||||
|
|
||||||
|
-- TODO: Why is GLSL filetype in the treesitter setup???
|
||||||
|
|
||||||
-- GLSL filetypes
|
-- GLSL filetypes
|
||||||
vim.filetype.add {
|
vim.filetype.add {
|
||||||
@ -1866,7 +1875,8 @@ in {
|
|||||||
opts = {
|
opts = {
|
||||||
auto_install = false;
|
auto_install = false;
|
||||||
ensure_installed = [];
|
ensure_installed = [];
|
||||||
parser_install_dir = "${treesitter-parsers}";
|
# parser_install_dir = "${treesitter-parsers}";
|
||||||
|
install_dir = "${treesitter-parsers}";
|
||||||
|
|
||||||
indent = {
|
indent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -1983,6 +1993,39 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
visual-whitespace = rec {
|
||||||
|
name = "visual-whitespace";
|
||||||
|
pkg = pkgs.vimPlugins.visual-whitespace-nvim;
|
||||||
|
event = ["ModeChanged *:[vV\22]"];
|
||||||
|
config = mkDefaultConfig name;
|
||||||
|
opts = {
|
||||||
|
enabled = true;
|
||||||
|
highlight = {
|
||||||
|
link = "Visual";
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
|
match_types = {
|
||||||
|
space = true;
|
||||||
|
tab = true;
|
||||||
|
nbsp = true;
|
||||||
|
lead = false;
|
||||||
|
trail = false;
|
||||||
|
};
|
||||||
|
list_chars = {
|
||||||
|
space = "·";
|
||||||
|
tab = "↦";
|
||||||
|
nbsp = "␣";
|
||||||
|
lead = "‹";
|
||||||
|
trail = "›";
|
||||||
|
};
|
||||||
|
fileformat_chars = {
|
||||||
|
unix = "↲";
|
||||||
|
mac = "←";
|
||||||
|
dos = "↙";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# wakatime = {
|
# wakatime = {
|
||||||
# name = "wakatime";
|
# name = "wakatime";
|
||||||
# pkg = pkgs.vimPlugins.vim-wakatime;
|
# pkg = pkgs.vimPlugins.vim-wakatime;
|
||||||
@ -2164,6 +2207,7 @@ in {
|
|||||||
typst-preview # Typst support
|
typst-preview # Typst support
|
||||||
ufo # Code folding
|
ufo # Code folding
|
||||||
vimtex # LaTeX support
|
vimtex # LaTeX support
|
||||||
|
visual-whitespace
|
||||||
# wakatime # Time tracking
|
# wakatime # Time tracking
|
||||||
web-devicons # Icons for many plugins
|
web-devicons # Icons for many plugins
|
||||||
which-key # Live keybinding help
|
which-key # Live keybinding help
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user