Compare commits
No commits in common. "52741955630cbe5de069e8a6789b5a892231f7c9" and "03fea6a64a3fe6533e1aa34f543c6f5a0a0b366a" have entirely different histories.
5274195563
...
03fea6a64a
12
flake.lock
12
flake.lock
|
@ -219,11 +219,11 @@
|
||||||
"utils": "utils"
|
"utils": "utils"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675935446,
|
"lastModified": 1671966569,
|
||||||
"narHash": "sha256-WajulTn7QdwC7QuXRBavrANuIXE5z+08EdxdRw1qsNs=",
|
"narHash": "sha256-jbLgfSnmLchARBNFRvCic63CFQ9LAyvlXnBpc2kwjQc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2dce7f1a55e785a22d61668516df62899278c9e4",
|
"rev": "c55fa26ce05fee8e063db22918d05a73d430b2ea",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -265,11 +265,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1676110339,
|
"lastModified": 1671983799,
|
||||||
"narHash": "sha256-kOS/L8OOL2odpCOM11IevfHxcUeE0vnZUQ74EOiwXcs=",
|
"narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "e5530aba13caff5a4f41713f1265b754dc2abfd8",
|
"rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -144,25 +144,6 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ htop ];
|
environment.systemPackages = with pkgs; [ htop ];
|
||||||
|
|
||||||
services.gitea = {
|
|
||||||
enable = true;
|
|
||||||
domain = "git.fainsin.bzh";
|
|
||||||
rootUrl = "https://git.fainsin.bzh";
|
|
||||||
lfs.enable = true;
|
|
||||||
database.type = "postgres";
|
|
||||||
settings = {
|
|
||||||
service = {
|
|
||||||
"DEFAULT_KEEP_EMAIL_PRIVATE" = true;
|
|
||||||
"DISABLE_REGISTRATION" = true;
|
|
||||||
};
|
|
||||||
server = { "LANDING_PAGE" = "explore"; };
|
|
||||||
session = {
|
|
||||||
"PROVIDER" = "db";
|
|
||||||
"COOKIE_SECURE" = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -190,14 +171,6 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
root = "/srv/www/";
|
root = "/srv/www/";
|
||||||
};
|
};
|
||||||
"git.fainsin.bzh" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://localhost:3000/";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
default = {
|
default = {
|
||||||
default = true;
|
default = true;
|
||||||
locations."/".return = ''301 "$scheme://fainsin.bzh" '';
|
locations."/".return = ''301 "$scheme://fainsin.bzh" '';
|
||||||
|
|
|
@ -33,11 +33,6 @@ in {
|
||||||
networking.firewall.allowedTCPPorts = [ ];
|
networking.firewall.allowedTCPPorts = [ ];
|
||||||
networking.firewall.allowedUDPPorts = [ ];
|
networking.firewall.allowedUDPPorts = [ ];
|
||||||
|
|
||||||
# bluetooth
|
|
||||||
hardware.bluetooth.enable = true;
|
|
||||||
services.blueman.enable = true;
|
|
||||||
|
|
||||||
# wireguard vpn
|
|
||||||
networking.wg-quick.interfaces = {
|
networking.wg-quick.interfaces = {
|
||||||
wg0 = {
|
wg0 = {
|
||||||
privateKeyFile = "/root/wireguard-keys/private";
|
privateKeyFile = "/root/wireguard-keys/private";
|
||||||
|
@ -76,16 +71,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# logind configuration
|
|
||||||
services.logind = {
|
|
||||||
lidSwitch = "ignore";
|
|
||||||
extraConfig = ''
|
|
||||||
HandlePowerKey=suspend
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
services.tlp.enable = true;
|
|
||||||
|
|
||||||
# internationalisation
|
# internationalisation
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
||||||
i18n.defaultLocale = "en_DK.UTF-8";
|
i18n.defaultLocale = "en_DK.UTF-8";
|
||||||
|
@ -163,12 +148,10 @@ in {
|
||||||
libreoffice-fresh
|
libreoffice-fresh
|
||||||
];
|
];
|
||||||
|
|
||||||
services.mpris-proxy.enable = true;
|
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
name = "Catppuccin-Mocha-Dark-Cursors";
|
name = "Catppuccin-Mocha-Dark-Cursors";
|
||||||
package = pkgs.catppuccin-cursors.mochaDark;
|
package = pkgs.catppuccin-cursors.mochaDark;
|
||||||
size = 20;
|
size = 32;
|
||||||
gtk.enable = true;
|
gtk.enable = true;
|
||||||
x11.enable = true;
|
x11.enable = true;
|
||||||
};
|
};
|
||||||
|
@ -185,7 +168,7 @@ in {
|
||||||
package = pkgs.papirus-icon-theme;
|
package = pkgs.papirus-icon-theme;
|
||||||
};
|
};
|
||||||
theme = {
|
theme = {
|
||||||
name = "Catppuccin-Dark";
|
name = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||||
package = pkgs.catppuccin-gtk;
|
package = pkgs.catppuccin-gtk;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -288,6 +271,7 @@ in {
|
||||||
programs.exa = { enable = true; };
|
programs.exa = { enable = true; };
|
||||||
programs.zsh.shellAliases = {
|
programs.zsh.shellAliases = {
|
||||||
l = "exa -l -h -g --icons --git --time-style=long-iso";
|
l = "exa -l -h -g --icons --git --time-style=long-iso";
|
||||||
|
ls = "exa -l -h -g --icons --git --time-style=long-iso --grid";
|
||||||
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a";
|
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -327,6 +311,7 @@ in {
|
||||||
ms-vsliveshare.vsliveshare
|
ms-vsliveshare.vsliveshare
|
||||||
ms-python.vscode-pylance
|
ms-python.vscode-pylance
|
||||||
eamodio.gitlens
|
eamodio.gitlens
|
||||||
|
github.copilot
|
||||||
|
|
||||||
yzhang.markdown-all-in-one
|
yzhang.markdown-all-in-one
|
||||||
editorconfig.editorconfig
|
editorconfig.editorconfig
|
||||||
|
@ -351,8 +336,6 @@ in {
|
||||||
"gitlens.telemetry.enabled" = false;
|
"gitlens.telemetry.enabled" = false;
|
||||||
"telemetry.telemetryLevel" = "off";
|
"telemetry.telemetryLevel" = "off";
|
||||||
"editor.inlineSuggest.enabled" = true;
|
"editor.inlineSuggest.enabled" = true;
|
||||||
"liveshare.presence" = true;
|
|
||||||
"github.copilot.enable" = { "*" = true; };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -391,8 +374,7 @@ in {
|
||||||
names = [ "FiraCode" ];
|
names = [ "FiraCode" ];
|
||||||
size = 10.0;
|
size = 10.0;
|
||||||
};
|
};
|
||||||
bars =
|
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
|
||||||
[{ command = "env GTK_THEME=adwaita ${pkgs.waybar}/bin/waybar"; }];
|
|
||||||
gaps = {
|
gaps = {
|
||||||
smartGaps = true;
|
smartGaps = true;
|
||||||
inner = 5;
|
inner = 5;
|
||||||
|
@ -627,9 +609,6 @@ in {
|
||||||
# enable polkit
|
# enable polkit
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
|
|
||||||
# allow swaylock to use pam
|
|
||||||
security.pam.services.swaylock = { };
|
|
||||||
|
|
||||||
# enable unfree
|
# enable unfree
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue