mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Simplify user config structure
This commit is contained in:
parent
33cad0b00c
commit
52c510d612
9 changed files with 22 additions and 31 deletions
|
|
@ -1,6 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [ ../common-home.nix ];
|
||||
config,
|
||||
self,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ self.homeManagerModules.default ];
|
||||
|
||||
xdg = {
|
||||
enable = true;
|
||||
userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables.NH_FLAKE = "~/Projects/nixos-config";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue