make it snow!
This commit is contained in:
@@ -5,5 +5,6 @@ let
|
||||
imports = lib.mapAttrsToList to-import (lib.filterAttrs filter-users (builtins.readDir ./.));
|
||||
in
|
||||
{
|
||||
# TODO: does not work?
|
||||
inherit imports;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
imports = [ <home-manager/nixos> ];
|
||||
#imports = [ <home-manager/nixos> ];
|
||||
imports = [ inputs.home-manager.nixosModule ];
|
||||
home-manager.useGlobalPkgs = true; # brrr
|
||||
#home-manager.useUserPackages = true # needed if VM
|
||||
|
||||
# When adding a new user accounts: Don't forget to set a password with ‘passwd’!
|
||||
}
|
||||
|
||||
@@ -1,5 +1,21 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
# system-wide shit
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
fzf
|
||||
];
|
||||
# TODO: fzf for zsh
|
||||
programs.bash.shellInit = ''
|
||||
source "$(${pkgs.fzf}/bin/fzf-share)/key-bindings.bash"
|
||||
source "$(${pkgs.fzf}/bin/fzf-share)/completion.bash"
|
||||
'';
|
||||
programs.bash.shellAliases."ed" = "micro"; # TODO: ${EDITOR:-micro}
|
||||
environment.variables."EDITOR" = "micro";
|
||||
|
||||
# user and home-manager
|
||||
|
||||
#nix.trusted-users = [ "pbsds" ];
|
||||
home-manager.users.pbsds = import ./home;
|
||||
users.groups.pbsds.gid = 1001;
|
||||
users.users.pbsds = {
|
||||
|
||||
Reference in New Issue
Block a user