1
0
Fork 0

Compare commits

...

4 commits

8 changed files with 64 additions and 25 deletions

36
flake.lock generated
View file

@ -8,11 +8,11 @@
},
"locked": {
"dir": "pkgs/firefox-addons",
"lastModified": 1747022610,
"narHash": "sha256-d6SvA0gTHDrOqt4tZRVD0Gm5G4w6jAFJ6lis79PjSPw=",
"lastModified": 1747403139,
"narHash": "sha256-GpldCFeC+YP9m2xm1POByfT3+9J9/nwst0CYxvR85I0=",
"owner": "rycee",
"repo": "nur-expressions",
"rev": "d4b3ffe3e719e42b175ccdef13598516f0a8025d",
"rev": "1ebb2cf654110901889353440027993312e1aeb0",
"type": "gitlab"
},
"original": {
@ -118,11 +118,11 @@
]
},
"locked": {
"lastModified": 1747021744,
"narHash": "sha256-IDsM/9/tHQBlhG3tXI2fTM84AUN1uRa7JDPT1LMlGes=",
"lastModified": 1747427366,
"narHash": "sha256-c3UfEsnT94bt6ta1VELYQhAWkQWFGlB+7DmBmthlGGg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "fb061f555f821fe4fb49f8f6f2a0cc3d5728bd52",
"rev": "74d31e1165341bf510ee2017841a599f5cfc1608",
"type": "github"
},
"original": {
@ -174,11 +174,11 @@
},
"nixos-hardware": {
"locked": {
"lastModified": 1746814339,
"narHash": "sha256-hf2lICJzwACWuzHCmZn5NI6LUAOgGdR1yh8ip+duyhk=",
"lastModified": 1747129300,
"narHash": "sha256-L3clA5YGeYCF47ghsI7Tcex+DnaaN/BbQ4dR2wzoiKg=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "3c5e12673265dfb0de3d9121420c0c2153bf21e0",
"rev": "e81fd167b33121269149c57806599045fd33eeed",
"type": "github"
},
"original": {
@ -189,11 +189,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1746904237,
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=",
"lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"type": "github"
},
"original": {
@ -260,11 +260,11 @@
"systems": "systems_2"
},
"locked": {
"lastModified": 1746940940,
"narHash": "sha256-ASB3QVEoFK5//280uedYdt8jyDLhFa9zgj8qfc0S7Sk=",
"lastModified": 1747389489,
"narHash": "sha256-PN5lxjC+Oh4oANayNRN0deD4F8N5yZ1Zw+NI9SfQt80=",
"owner": "notashelf",
"repo": "nvf",
"rev": "815ed49d3693346122ef61da6d7443cd3cc21752",
"rev": "74587e254ac7f8f7a7eca58aede14badde20dee6",
"type": "github"
},
"original": {
@ -373,11 +373,11 @@
},
"stable": {
"locked": {
"lastModified": 1746810718,
"narHash": "sha256-VljtYzyttmvkWUKTVJVW93qAsJsrBbgAzy7DdnJaQfI=",
"lastModified": 1747209494,
"narHash": "sha256-fLise+ys+bpyjuUUkbwqo5W/UyIELvRz9lPBPoB0fbM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0c0bf9c057382d5f6f63d54fd61f1abd5e1c2f63",
"rev": "5d736263df906c5da72ab0f372427814de2f52f8",
"type": "github"
},
"original": {

View file

@ -20,7 +20,8 @@ let
cursor_shape = "Beam";
};
defaultFont = {
name = "Hack Nerd Font";
name = "Hack Nerd Font Mono";
package = pkgs.nerd-fonts.hack;
size = 12;
};
in
@ -33,7 +34,10 @@ in
};
config = mkIf cfg.enable {
home.packages = [ pkgs.kitty-themes ];
home.packages = [
pkgs.kitty-themes
defaultFont.package
]; # fc-cache -fv clear fontconfig when error
programs.kitty = {
enable = true;
themeFile = "tokyo_night_night";

View file

@ -48,6 +48,7 @@ in
kdiskmark
networkmanager
kdePackages.networkmanager-qt
kdePackages.wallpaper-engine-plugin
];
};

View file

@ -53,6 +53,7 @@ in
check = it: lib.isString it && lib.types.path.check it;
};
example = "/run/secrets/linkwarden";
default = "/run/secrets/linkwarden";
description = ''
Path of a file with extra environment variables to be loaded from disk.
This file is not added to the nix store, so it can be used to pass secrets to linkwarden.

View file

@ -0,0 +1,25 @@
{
config,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.system.tmpfs;
in
{
options.${namespace}.system.tmpfs = with types; {
enable = mkBoolOpt false "Whether or not to use tmpfs for /tmp.";
};
config = mkIf cfg.enable {
boot.tmp = {
cleanOnBoot = true;
tmpfsSize = "50%";
useTmpfs = true;
};
};
}

View file

@ -56,16 +56,17 @@ with lib.${namespace};
cinny = enabled;
ente-auth = enabled;
restic = enabled;
linkwarden = {
enable = true;
secretsFile = "/run/secrets/linkwarden";
};
linkwarden = enabled;
forgejo = enabled;
};
#container.invidious = enabled;
system.sops = enabled;
system = {
sops = enabled;
tmpfs = enabled;
};
cli.neovim = enabled;
};

View file

@ -71,6 +71,7 @@ with lib.${namespace};
};
system = {
tmpfs = enabled;
fonts = {
enable = true;
emoji = true;

View file

@ -39,8 +39,14 @@ with lib.${namespace};
eza = enabled;
nh = enabled;
};
system.tmpfs = true;
};
environment.systemPackages = with pkgs; [
git
];
# Set your time zone
time.timeZone = "Europe/Berlin";