ma home-manager: fix build

This commit is contained in:
makefu 2019-04-17 21:44:00 +02:00
parent a7828387a9
commit e9743b162d
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
5 changed files with 17 additions and 2 deletions

View File

@ -2,7 +2,9 @@
imports = [ imports = [
<home-manager/nixos> <home-manager/nixos>
]; ];
home-manager.useUserPackages = true;
home-manager.users.makefu = { home-manager.users.makefu = {
home.stateVersion = "19.03";
}; };
environment.variables = { environment.variables = {
GTK_DATA_PREFIX = "/run/current-system/sw"; GTK_DATA_PREFIX = "/run/current-system/sw";

View File

@ -5,7 +5,10 @@
home-manager.users.makefu = { home-manager.users.makefu = {
systemd.user.services.network-manager-applet.Service.Environment = ''XDG_DATA_DIRS=/run/current-system/sw/share:${pkgs.networkmanagerapplet}/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache''; systemd.user.services.network-manager-applet.Service.Environment = ''XDG_DATA_DIRS=/run/current-system/sw/share:${pkgs.networkmanagerapplet}/share GDK_PIXBUF_MODULE_FILE=${pkgs.librsvg.out}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache'';
programs.browserpass = { browsers = [ "firefox" ] ; enable = true; }; programs.browserpass = { browsers = [ "firefox" ] ; enable = true; };
programs.firefox.enable = true; programs.firefox = {
enable = true;
enableIcedTea = true;
};
programs.obs-studio.enable = true; programs.obs-studio.enable = true;
xdg.enable = true; xdg.enable = true;
services.network-manager-applet.enable = true; services.network-manager-applet.enable = true;
@ -20,7 +23,6 @@
filenamePattern=%F_%T_shot filenamePattern=%F_%T_shot
''; '';
systemd.user.services.pasystray.Service.Environment = "PATH=" + (lib.makeBinPath (with pkgs;[ pavucontrol paprefs /* pavumeter */ /* paman */ ]) );
programs.chromium = { programs.chromium = {
enable = true; enable = true;
extensions = [ extensions = [

View File

@ -0,0 +1,4 @@
{pkgs, ... }:
{
home-manager.users.makefu.programs.obs-studio.enable = true;
}

View File

@ -3,6 +3,12 @@ let
loc = "/home/makefu/.task"; loc = "/home/makefu/.task";
in { in {
state = [ "${loc}/keys" ]; state = [ "${loc}/keys" ];
environment.shellAliases = {
tshack = "task tags:shack";
tkrebs = "task tags:krebs";
thome = "task tags:home";
t = "task project: ";
};
home-manager.users.makefu.programs.taskwarrior = { home-manager.users.makefu.programs.taskwarrior = {
enable = true; enable = true;
dataLocation = loc; dataLocation = loc;

View File

@ -67,6 +67,7 @@
home-manager.users.makefu.programs.zsh.shellAliases = { home-manager.users.makefu.programs.zsh.shellAliases = {
cat = "bat"; cat = "bat";
catn = "${pkgs.coreutils}/bin/cat"; catn = "${pkgs.coreutils}/bin/cat";
ncat = "${pkgs.coreutils}/bin/cat";
}; };
} }
]; ];