-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
360 additions
and
191 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
{ ... }: | ||
{ | ||
imports = [ ./den.nix ]; | ||
imports = [ | ||
./hosts | ||
./modules | ||
]; | ||
|
||
den.enable = true; | ||
den.user = "vix"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,5 +4,6 @@ | |
./unknown.nix | ||
|
||
./niji.nix | ||
./vyxn.nix | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ in | |
}; | ||
|
||
config = mkIf cfg.enable { | ||
den.modules = { | ||
den.packs = { | ||
comfy.enable = true; | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
lib, | ||
pkgs, | ||
config, | ||
... | ||
}: | ||
with lib; | ||
let | ||
cfg = config.den.hosts.vyxn; | ||
in | ||
{ | ||
options.den.hosts.vyxn = { | ||
enable = mkEnableOption "vyxn host"; | ||
}; | ||
|
||
config = mkIf cfg.enable { | ||
den = { | ||
apps = { | ||
alacritty.enable = true; | ||
tor.enable = true; | ||
}; | ||
|
||
packs = { | ||
comfy.enable = true; | ||
development.enable = true; | ||
}; | ||
}; | ||
|
||
home.packages = with pkgs; [ | ||
zip | ||
wmctrl | ||
|
||
# installed globally | ||
# _1password-cli | ||
# _1password-gui | ||
|
||
# net util | ||
rdap | ||
whois | ||
subnetcalc | ||
dnsutils | ||
nmap | ||
|
||
kitty | ||
|
||
vscode | ||
]; | ||
|
||
# services.syncthing.enable = true; | ||
|
||
# programs.gpg.enable = true; | ||
|
||
# services.gpg-agent = { | ||
# enable = true; | ||
# pinentryPackage = pkgs.pinentry-gnome3; | ||
# }; | ||
}; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{ | ||
lib, | ||
pkgs, | ||
config, | ||
... | ||
}: | ||
with lib; | ||
let | ||
cfg = config.den.apps.helix; | ||
in | ||
{ | ||
options.den.apps.helix.enable = mkEnableOption "helix"; | ||
|
||
config = mkIf cfg.enable { | ||
|
||
home.packages = with pkgs; [ | ||
nixd # nix lsp | ||
marksman # markdown lsp | ||
vscode-langservers-extracted | ||
]; | ||
|
||
programs.helix = { | ||
enable = true; | ||
|
||
settings = { | ||
theme = "monokai"; | ||
editor.lsp.display-inlay-hints = true; | ||
}; | ||
|
||
languages.language = [ | ||
# nix | ||
{ | ||
name = "nix"; | ||
auto-format = true; | ||
language-servers = [ "nixd" ]; | ||
formatter.command = "${pkgs.nixfmt-rfc-style}/bin/nixfmt"; | ||
} | ||
# html | ||
{ | ||
name = "html"; | ||
language-servers = [ "vscode-html-language-server" ]; | ||
formatter = { | ||
command = "prettier"; | ||
args = [ | ||
"--stdin-filepath" | ||
"file.html" | ||
]; | ||
}; | ||
auto-format = true; | ||
} | ||
# json | ||
{ | ||
name = "json"; | ||
language-servers = [ | ||
{ | ||
name = "vscode-json-language-server"; | ||
except-features = [ "format" ]; | ||
} | ||
]; | ||
auto-format = true; | ||
} | ||
# markdown | ||
{ | ||
name = "markdown"; | ||
language-servers = [ "marksman" ]; | ||
formatter = { | ||
command = "prettier"; | ||
args = [ | ||
"--stdin-filepath" | ||
"file.md" | ||
]; | ||
}; | ||
auto-format = true; | ||
} | ||
]; | ||
}; | ||
}; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
{ ... }: | ||
{ | ||
imports = [ | ||
./comfy.nix | ||
./development.nix | ||
./fonts.nix | ||
./media.nix | ||
./den.nix | ||
./shell.nix | ||
./x11.nix | ||
./xdg.nix | ||
./workspace.nix | ||
|
||
./apps | ||
./packs | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
lib, | ||
pkgs, | ||
config, | ||
... | ||
}: | ||
with lib; | ||
let | ||
cfg = config.den.packs.comfy; | ||
in | ||
{ | ||
options.den.packs.comfy.enable = mkEnableOption "comfy module"; | ||
|
||
config = mkIf cfg.enable { | ||
den.apps = { | ||
neofetch.enable = true; | ||
}; | ||
|
||
den.packs = { }; | ||
}; | ||
} |
Oops, something went wrong.