mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
use Home Manager config variable
This commit is contained in:
parent
795c37d632
commit
6c4b8ea7a7
@ -9,7 +9,7 @@
|
||||
# https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
home-manager.users.yoda = { pkgs, ... }: {
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||
/* The home.stateVersion option does not have a default and must be set */
|
||||
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */
|
||||
home.stateVersion = "23.05";
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.yoda = { pkgs, ... }: {
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||
|
||||
# Git config using Home Manager modules
|
||||
programs.git = {
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
home-manager.users.yoda = {
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||
dconf.settings = {
|
||||
# Enable GNOME extensions.
|
||||
"org/gnome/shell".enabled-extensions = [ pkgs.gnomeExtensions.caffeine.extensionUuid ];
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home-manager.users.yoda = { pkgs, ... }: {
|
||||
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user