nix flake update

This commit is contained in:
Tobias Ostner 2025-02-25 10:27:38 +01:00
parent 97824d4a21
commit 78d9a72b27
2 changed files with 16 additions and 19 deletions

18
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739034224, "lastModified": 1740452771,
"narHash": "sha256-Mj/8jDzh1KNmUhWqEeVlW3hO9MZkxqioJGnmR7rivaE=", "narHash": "sha256-/tI1vFJ7/dXJqUmI+s0EV1F0DPe6dZvT444mrLUkrlU=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "0b6f96a6b9efcfa8d3cc8023008bcbcd1b9bc1a4", "rev": "42be12b510253d750138ec90c66decc282298b44",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -27,11 +27,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739051380, "lastModified": 1740432748,
"narHash": "sha256-p1QSLO8DJnANY+ppK7fjD8GqfCrEIDjso1CSRHsXL7Y=", "narHash": "sha256-BCeFtoJ/+LrZc03viRJWHfzAqqG8gPu/ikZeurv05xs=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5af1b9a0f193ab6138b89a8e0af8763c21bbf491", "rev": "c12dcc9b61429b2ad437a7d4974399ad8f910319",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -42,11 +42,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1739020877, "lastModified": 1740367490,
"narHash": "sha256-mIvECo/NNdJJ/bXjNqIh8yeoSjVLAuDuTUzAo7dzs8Y=", "narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a79cfe0ebd24952b580b1cf08cd906354996d547", "rev": "0196c0175e9191c474c26ab5548db27ef5d34b05",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,22 +1,19 @@
{ { inputs
inputs
}: }:
{ { system
system, , username
username, , email
email, , hostname
hostname
}: }:
let let
system-config = import ../module/configuration.nix {inherit hostname;}; system-config = import ../module/configuration.nix { inherit hostname; };
home-manager-config = import ../module/home-manager.nix {inherit email;}; home-manager-config = import ../module/home-manager.nix { inherit email; };
in in
inputs.darwin.lib.darwinSystem { inputs.darwin.lib.darwinSystem {
inherit system; inherit system;
modules = [ modules = [
{ {
services.nix-daemon.enable = true;
users.users.${username}.home = "/Users/${username}"; users.users.${username}.home = "/Users/${username}";
} }