1
0
Fork 0

Compare commits

...

3 commits

9 changed files with 60 additions and 34 deletions

36
flake.lock generated
View file

@ -8,11 +8,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1748405006, "lastModified": 1748664200,
"narHash": "sha256-pmt0SFjACJJAI8g8QU5arg2c9BXNZG9/okVwRSDJkG8=", "narHash": "sha256-D8sWEVVvxDBJsr8h26AGDfYjp56iKUIHCWaOKucDT2c=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "f9801a86d6603260940890c36650275090d1dceb", "rev": "b7d07ac2748936643abe8192065a2156f1a46d6e",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -118,11 +118,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748391243, "lastModified": 1748668774,
"narHash": "sha256-7sCuihzsTRZemtbTXaFUoGJUfuQErhKEcL9v7HKIo1k=", "narHash": "sha256-fYk/vk4ClmvHIgnGv/5GNRiDLtNCwXo9aLq36L/x+P4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "f5b12be834874f7661db4ced969a621ab2d57971", "rev": "60e4624302d956fe94d3f7d96a560d14d70591b9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -174,11 +174,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1747900541, "lastModified": 1748634340,
"narHash": "sha256-dn64Pg9xLETjblwZs9Euu/SsjW80pd6lr5qSiyLY1pg=", "narHash": "sha256-pZH4bqbOd8S+si6UcfjHovWDiWKiIGRNRMpmRWaDIms=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "11f2d9ea49c3e964315215d6baa73a8d42672f06", "rev": "daa628a725ab4948e0e2b795e8fb6f4c3e289a7a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -189,11 +189,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1748370509, "lastModified": 1748460289,
"narHash": "sha256-QlL8slIgc16W5UaI3w7xHQEP+Qmv/6vSNTpoZrrSlbk=", "narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4faa5f5321320e49a78ae7848582f684d64783e9", "rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -260,11 +260,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1748318168, "lastModified": 1748651104,
"narHash": "sha256-pUDVxHarStrDYxd2tztz4SjNflzFxuMMEC3SK9WLUK8=", "narHash": "sha256-GZLiCQlNV8QfAWwGinXeSdiKZS346ZGPv6EKzeY0tAA=",
"owner": "notashelf", "owner": "notashelf",
"repo": "nvf", "repo": "nvf",
"rev": "74ba4d955976af1422ea1f095968e547db70aa04", "rev": "c4cf91d4b531245a02f5b6c196f6279bc87a546f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -373,11 +373,11 @@
}, },
"stable": { "stable": {
"locked": { "locked": {
"lastModified": 1748037224, "lastModified": 1748421225,
"narHash": "sha256-92vihpZr6dwEMV6g98M5kHZIttrWahb9iRPBm1atcPk=", "narHash": "sha256-XXILOc80tvlvEQgYpYFnze8MkQQmp3eQxFbTzb3m/R0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f09dede81861f3a83f7f06641ead34f02f37597f", "rev": "78add7b7abb61689e34fc23070a8f55e1d26185b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -6,14 +6,6 @@
}: }:
with lib.${namespace}; with lib.${namespace};
{ {
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.rose-pine-cursor;
name = "BreezeX-RosePine-Linux";
size = 32;
};
awesome-flake = { awesome-flake = {
cli-apps = { cli-apps = {
fish = enabled; fish = enabled;
@ -47,6 +39,7 @@ with lib.${namespace};
hotkeys = enabled; hotkeys = enabled;
panel = enabled; panel = enabled;
spectacle = enabled; spectacle = enabled;
cursor = enabled;
}; };
}; };
} }

View file

@ -0,0 +1,29 @@
{
config,
pkgs,
lib,
namespace,
...
}:
with lib;
with lib.${namespace};
let
cfg = config.${namespace}.desktop.cursor;
in
{
options.${namespace}.desktop.cursor = with types; {
enable = mkBoolOpt false "Whether or not to enable custom cursor settings.";
};
config = mkIf cfg.enable {
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
package = pkgs.rose-pine-cursor;
name = "BreezeX-RosePine-Linux";
size = 32;
};
};
}

View file

@ -4,6 +4,10 @@
... ...
}: }:
{ {
home.stateVersion = lib.mkDefault (osConfig.system.stateVersion or "24.11"); home = {
username = "philipp";
homeDirectory = "/home/philipp";
stateVersion = lib.mkDefault (osConfig.system.stateVersion or "24.11");
};
} }

View file

@ -14,6 +14,7 @@ in
enable = mkBoolOpt false "Whether or not to enable neovim."; enable = mkBoolOpt false "Whether or not to enable neovim.";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
environment.variables.EDITOR = "nvim";
programs.nvf = { programs.nvf = {
enable = true; enable = true;
settings = { settings = {

View file

@ -19,7 +19,7 @@ in
enable = true; enable = true;
clean.enable = true; clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3"; clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/home/philipp/Documents/nix-config"; flake = "${config.home-manager.users.philipp.home.homeDirectory}/Documents/nix-config";
}; };
}; };

View file

@ -27,9 +27,8 @@ in
}; };
nginx = { nginx = {
enable = mkEnableOption "Enable nginx for this service." enable = mkEnableOption "Enable nginx for this service." // {
// { default = true;
default = true;
}; };
}; };

View file

@ -18,7 +18,7 @@ in
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {
sops.age.keyFile = "/home/philipp/.config/sops/age/keys.txt"; sops.age.keyFile = "${config.users.users.philipp.home}/.config/sops/age/keys.txt";
}; };
} }

View file

@ -14,7 +14,8 @@
nodejs, nodejs,
openssl, openssl,
playwright-driver, playwright-driver,
prisma, prisma-engines, prisma,
prisma-engines,
}: }:
let let
@ -128,7 +129,6 @@ stdenvNoCC.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests = { passthru.tests = {
inherit (nixosTests) linkwarden; inherit (nixosTests) linkwarden;
}; };