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"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1675935446,
|
||||
"narHash": "sha256-WajulTn7QdwC7QuXRBavrANuIXE5z+08EdxdRw1qsNs=",
|
||||
"lastModified": 1671966569,
|
||||
"narHash": "sha256-jbLgfSnmLchARBNFRvCic63CFQ9LAyvlXnBpc2kwjQc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2dce7f1a55e785a22d61668516df62899278c9e4",
|
||||
"rev": "c55fa26ce05fee8e063db22918d05a73d430b2ea",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -265,11 +265,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1676110339,
|
||||
"narHash": "sha256-kOS/L8OOL2odpCOM11IevfHxcUeE0vnZUQ74EOiwXcs=",
|
||||
"lastModified": 1671983799,
|
||||
"narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "e5530aba13caff5a4f41713f1265b754dc2abfd8",
|
||||
"rev": "fad51abd42ca17a60fc1d4cb9382e2d79ae31836",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -144,25 +144,6 @@
|
|||
|
||||
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 = {
|
||||
enable = true;
|
||||
|
||||
|
@ -190,14 +171,6 @@
|
|||
forceSSL = true;
|
||||
root = "/srv/www/";
|
||||
};
|
||||
"git.fainsin.bzh" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3000/";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
default = {
|
||||
default = true;
|
||||
locations."/".return = ''301 "$scheme://fainsin.bzh" '';
|
||||
|
|
|
@ -33,11 +33,6 @@ in {
|
|||
networking.firewall.allowedTCPPorts = [ ];
|
||||
networking.firewall.allowedUDPPorts = [ ];
|
||||
|
||||
# bluetooth
|
||||
hardware.bluetooth.enable = true;
|
||||
services.blueman.enable = true;
|
||||
|
||||
# wireguard vpn
|
||||
networking.wg-quick.interfaces = {
|
||||
wg0 = {
|
||||
privateKeyFile = "/root/wireguard-keys/private";
|
||||
|
@ -76,16 +71,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
# logind configuration
|
||||
services.logind = {
|
||||
lidSwitch = "ignore";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend
|
||||
'';
|
||||
};
|
||||
|
||||
services.tlp.enable = true;
|
||||
|
||||
# internationalisation
|
||||
time.timeZone = "Europe/Paris";
|
||||
i18n.defaultLocale = "en_DK.UTF-8";
|
||||
|
@ -163,12 +148,10 @@ in {
|
|||
libreoffice-fresh
|
||||
];
|
||||
|
||||
services.mpris-proxy.enable = true;
|
||||
|
||||
home.pointerCursor = {
|
||||
name = "Catppuccin-Mocha-Dark-Cursors";
|
||||
package = pkgs.catppuccin-cursors.mochaDark;
|
||||
size = 20;
|
||||
size = 32;
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
};
|
||||
|
@ -185,7 +168,7 @@ in {
|
|||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
theme = {
|
||||
name = "Catppuccin-Dark";
|
||||
name = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
package = pkgs.catppuccin-gtk;
|
||||
};
|
||||
};
|
||||
|
@ -288,6 +271,7 @@ in {
|
|||
programs.exa = { enable = true; };
|
||||
programs.zsh.shellAliases = {
|
||||
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";
|
||||
};
|
||||
|
||||
|
@ -327,6 +311,7 @@ in {
|
|||
ms-vsliveshare.vsliveshare
|
||||
ms-python.vscode-pylance
|
||||
eamodio.gitlens
|
||||
github.copilot
|
||||
|
||||
yzhang.markdown-all-in-one
|
||||
editorconfig.editorconfig
|
||||
|
@ -351,8 +336,6 @@ in {
|
|||
"gitlens.telemetry.enabled" = false;
|
||||
"telemetry.telemetryLevel" = "off";
|
||||
"editor.inlineSuggest.enabled" = true;
|
||||
"liveshare.presence" = true;
|
||||
"github.copilot.enable" = { "*" = true; };
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -391,8 +374,7 @@ in {
|
|||
names = [ "FiraCode" ];
|
||||
size = 10.0;
|
||||
};
|
||||
bars =
|
||||
[{ command = "env GTK_THEME=adwaita ${pkgs.waybar}/bin/waybar"; }];
|
||||
bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
|
||||
gaps = {
|
||||
smartGaps = true;
|
||||
inner = 5;
|
||||
|
@ -627,9 +609,6 @@ in {
|
|||
# enable polkit
|
||||
security.polkit.enable = true;
|
||||
|
||||
# allow swaylock to use pam
|
||||
security.pam.services.swaylock = { };
|
||||
|
||||
# enable unfree
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue