merge
This commit is contained in:
commit
2e487c72f9
4 changed files with 88 additions and 2289 deletions
2196
flake.lock
2196
flake.lock
File diff suppressed because it is too large
Load diff
30
flake.nix
30
flake.nix
|
@ -13,11 +13,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
stylix.url = "github:danth/stylix";
|
hosts = {
|
||||||
blocklist-hosts = {
|
|
||||||
url = "github:StevenBlack/hosts";
|
url = "github:StevenBlack/hosts";
|
||||||
#flake = false;
|
#flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
hyprland-plugins = {
|
hyprland-plugins = {
|
||||||
url = "github:hyprwm/hyprland-plugins";
|
url = "github:hyprwm/hyprland-plugins";
|
||||||
|
@ -25,12 +25,11 @@
|
||||||
#flake = false;
|
#flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
|
||||||
|
|
||||||
zig.url = "github:mitchellh/zig-overlay";
|
zig.url = "github:mitchellh/zig-overlay";
|
||||||
zls.url = "github:zigtools/zls?rev=a26718049a8657d4da04c331aeced1697bc7652b";
|
zls.url = "github:zigtools/zls?rev=a26718049a8657d4da04c331aeced1697bc7652b";
|
||||||
|
|
||||||
foundryvtt.url = "github:reckenrode/nix-foundryvtt";
|
foundryvtt.url = "github:reckenrode/nix-foundryvtt";
|
||||||
|
|
||||||
ghostty = {
|
ghostty = {
|
||||||
url = "git+ssh://git@github.com/ghostty-org/ghostty";
|
url = "git+ssh://git@github.com/ghostty-org/ghostty";
|
||||||
};
|
};
|
||||||
|
@ -44,15 +43,18 @@
|
||||||
url = "github:ToyVo/nh_darwin";
|
url = "github:ToyVo/nh_darwin";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nix-options-search = {
|
||||||
|
url = "github:madsbv/nix-options-search";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-stable,
|
nixpkgs-stable,
|
||||||
|
nix-options-search,
|
||||||
home-manager,
|
home-manager,
|
||||||
stylix,
|
|
||||||
darwin,
|
darwin,
|
||||||
blocklist-hosts,
|
hosts,
|
||||||
hyprland-plugins,
|
hyprland-plugins,
|
||||||
zig,
|
zig,
|
||||||
zls,
|
zls,
|
||||||
|
@ -64,14 +66,16 @@
|
||||||
overlays = [
|
overlays = [
|
||||||
inputs.zig.overlays.default
|
inputs.zig.overlays.default
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
nixos = lib.nixosSystem {
|
nixos = lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
{nixpkgs.overlays = overlays;}
|
{nixpkgs.overlays = overlays;}
|
||||||
nixos-cosmic.nixosModules.default
|
hosts.nixosModule
|
||||||
|
{
|
||||||
|
networking.stevenBlackHosts.enable = true;
|
||||||
|
}
|
||||||
./hosts/desktop/configuration.nix
|
./hosts/desktop/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
@ -81,7 +85,6 @@
|
||||||
users.nmarks = import ./hosts/desktop/home.nix;
|
users.nmarks = import ./hosts/desktop/home.nix;
|
||||||
};
|
};
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit stylix;
|
|
||||||
inherit hyprland-plugins;
|
inherit hyprland-plugins;
|
||||||
inherit zls;
|
inherit zls;
|
||||||
inherit ghostty;
|
inherit ghostty;
|
||||||
|
@ -90,8 +93,6 @@
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit stylix;
|
|
||||||
inherit blocklist-hosts;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -103,6 +104,10 @@
|
||||||
{nixpkgs.overlays = overlays;}
|
{nixpkgs.overlays = overlays;}
|
||||||
./hosts/laptop/configuration.nix
|
./hosts/laptop/configuration.nix
|
||||||
home-manager.darwinModules.home-manager
|
home-manager.darwinModules.home-manager
|
||||||
|
hosts.nixosModule
|
||||||
|
{
|
||||||
|
networking.stevenBlackHosts.enable = true;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
@ -110,7 +115,6 @@
|
||||||
users.nmarks = import ./hosts/laptop/home.nix;
|
users.nmarks = import ./hosts/laptop/home.nix;
|
||||||
};
|
};
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit stylix;
|
|
||||||
inherit zls;
|
inherit zls;
|
||||||
inherit ghostty;
|
inherit ghostty;
|
||||||
};
|
};
|
||||||
|
@ -120,8 +124,6 @@
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit nh_darwin;
|
inherit nh_darwin;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit stylix;
|
|
||||||
inherit blocklist-hosts;
|
|
||||||
inherit ghostty;
|
inherit ghostty;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,76 +25,75 @@
|
||||||
ratbagd.enable = true;
|
ratbagd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.timers.duckdns = {
|
|
||||||
wantedBy = ["timers.target"];
|
|
||||||
timerConfig = {
|
|
||||||
OnBootSec = "5m";
|
|
||||||
OnUnitActiveSec = "5m";
|
|
||||||
Unit = "duckdns.service";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.noisetorch.enable = true;
|
programs.noisetorch.enable = true;
|
||||||
|
|
||||||
systemd.services.duckdns = {
|
# systemd.timers.duckdns = {
|
||||||
enable = true;
|
# wantedBy = ["timers.target"];
|
||||||
script = ''echo url="https://www.duckdns.org/update?domains=pathfinder2e&token=9c1ffa47-7496-4975-ba2b-a6928b28c500&ip=" | ${pkgs.curl}/bin/curl -v -k -o ~/.duckdns/duck.log -K -'';
|
# timerConfig = {
|
||||||
serviceConfig = {
|
# OnBootSec = "5m";
|
||||||
Type = "oneshot";
|
# OnUnitActiveSec = "5m";
|
||||||
User = "nmarks";
|
# Unit = "duckdns.service";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
# systemd.services.duckdns = {
|
||||||
services.foundryvtt = {
|
# enable = true;
|
||||||
enable = true;
|
# script = ''echo url="https://www.duckdns.org/update?domains=pathfinder2e&token=9c1ffa47-7496-4975-ba2b-a6928b28c500&ip=" | ${pkgs.curl}/bin/curl -v -k -o ~/.duckdns/duck.log -K -'';
|
||||||
hostName = "pathfinder2.duckdns.org";
|
# serviceConfig = {
|
||||||
proxySSL = true;
|
# Type = "oneshot";
|
||||||
proxyPort = 443;
|
# User = "nmarks";
|
||||||
package = inputs.foundryvtt.packages.${pkgs.system}.foundryvtt_11;
|
# };
|
||||||
};
|
# };
|
||||||
|
#
|
||||||
services.cloudflared = {
|
# services.foundryvtt = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
# user = "nmarks";
|
# hostName = "pathfinder2.duckdns.org";
|
||||||
# tunnels = {
|
# proxySSL = true;
|
||||||
# "b407af0f-5168-4a79-a9f4-fe99e52990dd" = {
|
# proxyPort = 443;
|
||||||
# credentialsFile = "${config.users.users.nmarks.home}/.cloudflared/b407af0f-5168-4a79-a9f4-fe99e52990dd.json";
|
# package = inputs.foundryvtt.packages.${pkgs.system}.foundryvtt_11;
|
||||||
# default = "http_status:404";
|
# };
|
||||||
# };
|
#
|
||||||
# };
|
# services.cloudflared = {
|
||||||
};
|
# enable = true;
|
||||||
|
# # user = "nmarks";
|
||||||
services.caddy = {
|
# # tunnels = {
|
||||||
enable = true;
|
# # "b407af0f-5168-4a79-a9f4-fe99e52990dd" = {
|
||||||
|
# # credentialsFile = "${config.users.users.nmarks.home}/.cloudflared/b407af0f-5168-4a79-a9f4-fe99e52990dd.json";
|
||||||
# virtualHosts."10.154.1.147".extraConfig = ''
|
# # default = "http_status:404";
|
||||||
# tls internal
|
# # };
|
||||||
# reverse_proxy localhost:30000
|
# # };
|
||||||
# encode zstd gzip
|
# };
|
||||||
# '';
|
#
|
||||||
|
# services.caddy = {
|
||||||
# virtualHosts."10.154.1.105".extraConfig = ''
|
# enable = true;
|
||||||
# tls internal
|
#
|
||||||
# reverse_proxy localhost:30000
|
# # virtualHosts."10.154.1.147".extraConfig = ''
|
||||||
# encode zstd gzip
|
# # tls internal
|
||||||
# '';
|
# # reverse_proxy localhost:30000
|
||||||
#
|
# # encode zstd gzip
|
||||||
# virtualHosts."pathfinder2e.duckdns.org".extraConfig = ''
|
# # '';
|
||||||
# reverse_proxy localhost:30000
|
#
|
||||||
# encode zstd gzip
|
# # virtualHosts."10.154.1.105".extraConfig = ''
|
||||||
# '';
|
# # tls internal
|
||||||
virtualHosts."pathfinder2e.duckdns.org".extraConfig = ''
|
# # reverse_proxy localhost:30000
|
||||||
reverse_proxy localhost:30000
|
# # encode zstd gzip
|
||||||
'';
|
# # '';
|
||||||
|
# #
|
||||||
# extraConfig = ''
|
# # virtualHosts."pathfinder2e.duckdns.org".extraConfig = ''
|
||||||
# pathfinder2e.duckdns.org {
|
# # reverse_proxy localhost:30000
|
||||||
# # PROXY ALL REQUEST TO PORT 30000
|
# # encode zstd gzip
|
||||||
# reverse_proxy localhost:30000
|
# # '';
|
||||||
# encode zstd gzip
|
# virtualHosts."pathfinder2e.duckdns.org".extraConfig = ''
|
||||||
# }
|
# reverse_proxy localhost:30000
|
||||||
# '';
|
# '';
|
||||||
};
|
#
|
||||||
|
# # extraConfig = ''
|
||||||
|
# # pathfinder2e.duckdns.org {
|
||||||
|
# # # PROXY ALL REQUEST TO PORT 30000
|
||||||
|
# # reverse_proxy localhost:30000
|
||||||
|
# # encode zstd gzip
|
||||||
|
# # }
|
||||||
|
# # '';
|
||||||
|
# };
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
zls,
|
zls,
|
||||||
ghostty,
|
ghostty,
|
||||||
|
nix-options-search,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# wayland.windowManager.hyprland = {
|
# wayland.windowManager.hyprland = {
|
||||||
|
@ -111,7 +112,6 @@
|
||||||
dxvk_2
|
dxvk_2
|
||||||
mangohud
|
mangohud
|
||||||
vulkan-tools
|
vulkan-tools
|
||||||
asdf-vm
|
|
||||||
prismlauncher
|
prismlauncher
|
||||||
# for cmpm17
|
# for cmpm17
|
||||||
binwalk
|
binwalk
|
||||||
|
@ -126,11 +126,6 @@
|
||||||
sl
|
sl
|
||||||
fallout-ce
|
fallout-ce
|
||||||
fallout2-ce
|
fallout2-ce
|
||||||
#CSE114 (Haskell stuff)
|
|
||||||
stack
|
|
||||||
(haskell-language-server.override {supportedGhcVersions = ["94" "947"];})
|
|
||||||
haskell.compiler.ghc947
|
|
||||||
ormolu
|
|
||||||
#LSP + formatters/linters
|
#LSP + formatters/linters
|
||||||
lua-language-server
|
lua-language-server
|
||||||
nil
|
nil
|
||||||
|
@ -169,7 +164,7 @@
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "Catppuccin-Mocha";
|
themeFile = "Catppuccin-Mocha";
|
||||||
extraConfig = "font_family Iosevka NF
|
extraConfig = "font_family Iosevka NF
|
||||||
italic_font auto
|
italic_font auto
|
||||||
bold_italic_font auto
|
bold_italic_font auto
|
||||||
|
@ -188,12 +183,11 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
hm-update = "git add home.nix ; git commit -m 'updated home-manager config'; git push origin main; home-manager switch --flake ~/.dotfiles/#nmarks";
|
# hm-update = "git add home.nix ; git commit -m 'updated home-manager config'; git push origin main; home-manager switch --flake ~/.dotfiles/#nmarks";
|
||||||
sys-update = "git add configuration.nix ; git commit -m 'updated system config'; git push origin main; sudo nixos-rebuild switch --flake ~/.dotfiles/#nmarks";
|
# sys-update = "git add configuration.nix ; git commit -m 'updated system config'; git push origin main; sudo nixos-rebuild switch --flake ~/.dotfiles/#nmarks";
|
||||||
full-update = "sys-update; hm-update";
|
# full-update = "sys-update; hm-update";
|
||||||
reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
|
reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
|
||||||
};
|
};
|
||||||
shellInit = "source $HOME/.nix-profile/share/asdf-vm/asdf.fish ";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.hyfetch = {
|
programs.hyfetch = {
|
||||||
|
|
Loading…
Reference in a new issue