Revert and fix typo

This commit is contained in:
2024-10-10 00:49:07 +01:00
parent 35edb54bd0
commit cb993cf7c8

View File

@@ -7,7 +7,7 @@
nix-darwin = { nix-darwin = {
url = "github:LnL7/nix-darwin"; url = "github:LnL7/nix-darwin";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
} };
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
@@ -17,7 +17,7 @@
outputs = inputs@{ self, nix-darwin, nixpkgs }: outputs = inputs@{ self, nix-darwin, nixpkgs }:
let let
configuration = { lib, pkgs, config, inputs, ... }: { configuration = { pkgs, config, ... }: {
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@@ -25,7 +25,13 @@
system.stateVersion = 5; system.stateVersion = 5;
# Home-manager module. # Home-manager module.
home-manager.users.trude = import ./home.nix; home-manager = {
extraSpecialArgs = {inherit inputs;};
backupFileExtension = "backup";
users = {
"trude" = import ./home.nix;
};
};
# Configs # Configs
environment.systemPackages = [ environment.systemPackages = [