mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +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
|
# https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module
|
||||||
home-manager.useGlobalPkgs = true;
|
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 */
|
/* The home.stateVersion option does not have a default and must be set */
|
||||||
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */
|
/* https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion */
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.yoda = { pkgs, ... }: {
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
|
|
||||||
# Git config using Home Manager modules
|
# Git config using Home Manager modules
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
home-manager.users.yoda = {
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
# Enable GNOME extensions.
|
# Enable GNOME extensions.
|
||||||
"org/gnome/shell".enabled-extensions = [ pkgs.gnomeExtensions.caffeine.extensionUuid ];
|
"org/gnome/shell".enabled-extensions = [ pkgs.gnomeExtensions.caffeine.extensionUuid ];
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home-manager.users.yoda = { pkgs, ... }: {
|
home-manager.users.yoda = { osConfig, config, pkgs, ... }: {
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user