Compare commits
4 commits
6f468d2d0f
...
5a8f369e02
Author | SHA1 | Date | |
---|---|---|---|
5a8f369e02 | |||
855b38eef5 | |||
57b94268ff | |||
c8637c99d5 |
5 changed files with 29 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -9,6 +10,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# install the most recent stable linux kernel
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
environment.systemPackages = with pkgs; [ direnv devenv ];
|
environment.systemPackages = with pkgs; [ devenv ];
|
||||||
|
|
||||||
|
programs.direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
extra-substituters = https://devenv.cachix.org
|
extra-substituters = https://devenv.cachix.org
|
||||||
|
|
|
@ -6,6 +6,7 @@ let
|
||||||
onlyoffice-bin
|
onlyoffice-bin
|
||||||
krita
|
krita
|
||||||
ytmdesktop
|
ytmdesktop
|
||||||
|
ktailctl
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
# we install xdg-desktop-portal-gtx so theming works from kde
|
# we install xdg-desktop-portal-gtx so theming works from kde
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
|
@ -19,4 +20,20 @@ in {
|
||||||
corefonts
|
corefonts
|
||||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Systemd user services
|
||||||
|
# See https://wiki.nixos.org/wiki/Systemd/User_Services for more information
|
||||||
|
systemd.user.services = {
|
||||||
|
ktailctl = {
|
||||||
|
enable = true;
|
||||||
|
after = [ "network.target" ];
|
||||||
|
wantedBy = [ "default.target" ];
|
||||||
|
description =
|
||||||
|
"A GUI to monitor and manage Tailscale on your Linux desktop, built using KDE Frameworks and Kirigami2.";
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "simple";
|
||||||
|
ExecStart = "${pkgs.ktailctl}/bin/ktailctl";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
nixfmt
|
nixfmt
|
||||||
forgejo-runner # for some reason this installs forgejo-runner as act_runner
|
forgejo-runner # for some reason this installs forgejo-runner as act_runner
|
||||||
libwebp
|
libwebp
|
||||||
|
fontforge
|
||||||
|
|
||||||
# python stuff 🐍
|
# python stuff 🐍
|
||||||
uv
|
uv
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
# with the contents of your Tailscale auth key.
|
# with the contents of your Tailscale auth key.
|
||||||
# Make sure your permissions are set correctly, e.g. 0600.
|
# Make sure your permissions are set correctly, e.g. 0600.
|
||||||
authKeyFile = "/run/secrets/tailscale";
|
authKeyFile = "/run/secrets/tailscale";
|
||||||
extraUpFlags = [ "--ssh" ];
|
extraUpFlags = [ "--ssh" "--accept-routes" "--accept-dns" "--operator=cswimr" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue