reorganization & hardware
This commit is contained in:
parent
b4b6ffc3b9
commit
1ae4c328f8
6 changed files with 48 additions and 50 deletions
|
@ -1,9 +1,8 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
|
||||
in {
|
||||
{
|
||||
# TODO: what the hell is this
|
||||
options = {
|
||||
user = mkOption {
|
||||
type = types.attrs;
|
||||
|
@ -35,10 +34,6 @@ in {
|
|||
description = "(XDG) Configuration files managed by home-manager";
|
||||
};
|
||||
};
|
||||
configDir = mkOption {
|
||||
type = types.path;
|
||||
default = ../config;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
|
@ -56,16 +51,6 @@ in {
|
|||
xdg.configFile = mkAliasDefinitions options.home.configFile;
|
||||
};
|
||||
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
XDG_CACHE_HOME = "$HOME/.cache";
|
||||
XDG_CONFIG_HOME = "$HOME/.config";
|
||||
XDG_DATA_HOME = "$HOME/.local/share";
|
||||
XDG_BIN_HOME = "$HOME/.local/bin";
|
||||
XDG_DESKTOP_DIR = "$HOME";
|
||||
};
|
||||
};
|
||||
|
||||
users.groups = mapAttrs (_: _: {}) config.normalUsers;
|
||||
|
||||
users.users = mapAttrs (username: user: (mkMerge [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue