mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-28 07:03:44 +01:00
Compare commits
2 commits
3d40f8cecb
...
48762bbb2d
Author | SHA1 | Date | |
---|---|---|---|
xqtc | 48762bbb2d | ||
xqtc | eb0d2e5fec |
|
@ -45,7 +45,7 @@
|
|||
package = pkgs.nix-ld-rs;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
# services.tailscale.enable = true;
|
||||
|
||||
nix.settings = {
|
||||
trusted-users = ["xqtc"];
|
||||
|
|
|
@ -11,7 +11,8 @@ end
|
|||
|
||||
local HOSTNAME = getHostname()
|
||||
|
||||
config.color_scheme = "astromouse (terminal.sexy)"
|
||||
-- config.color_scheme = "astromouse (terminal.sexy)"
|
||||
config.color_scheme = 'Kanagawa (Gogh)'
|
||||
-- config.font = wezterm.font 'Hack Nerd Font Mono'
|
||||
config.font = wezterm.font 'Hasklug Nerd Font Mono'
|
||||
if getHostname() == "lilith" or getHostname() == "alastor" then
|
||||
|
|
|
@ -26,15 +26,16 @@
|
|||
shiftwidth = 2; # Tab width should be 2
|
||||
};
|
||||
|
||||
# colorschemes.catppuccin.enable = true;
|
||||
colorschemes.base16 = {
|
||||
enable = true;
|
||||
colorscheme = "apathy";
|
||||
settings = {
|
||||
telescope_borders = true;
|
||||
};
|
||||
};
|
||||
colorschemes.kanagawa.enable = true;
|
||||
# colorschemes.base16 = {
|
||||
# enable = true;
|
||||
# colorscheme = "apathy";
|
||||
# settings = {
|
||||
# telescope_borders = true;
|
||||
# };
|
||||
# };
|
||||
plugins = {
|
||||
neogit.enable = true;
|
||||
neorg = {
|
||||
enable = true;
|
||||
modules = {
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = pkgs.linuxPackages_6_11;
|
||||
boot.kernelModules = ["v4l2loopback"];
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||
boot.extraModprobeConfig = ''
|
||||
|
@ -253,7 +253,7 @@
|
|||
|
||||
networking.wireguard.enable = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
# services.tailscale.enable = true;
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [2234 4747 8096 8080 8082];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
|
||||
networking.wireguard.enable = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
# services.tailscale.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [8080 5173];
|
||||
|
|
|
@ -19,6 +19,15 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
security.pam.services.swaylock = {};
|
||||
security.pam.services.swaylock.fprintAuth = true;
|
||||
|
||||
services.fprintd.enable = true;
|
||||
|
||||
services.fprintd.tod.enable = true;
|
||||
|
||||
# services.fprintd.tod.driver = pkgs.libfprint-2-tod1-vfs0090; # (If the vfs0090 Driver does not work, use the following driver)
|
||||
|
||||
services.fprintd.tod.driver = pkgs.libfprint-2-tod1-goodix; # (On my device it only worked with this driver)
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
@ -198,7 +207,7 @@
|
|||
};
|
||||
#networking.wireguard.enable = true;
|
||||
|
||||
services.tailscale.enable = true;
|
||||
# services.tailscale.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [22 2234 8080 5173];
|
||||
|
|
Loading…
Reference in a new issue