Merge branch 'master' of github.com:aciceri/fleet
This commit is contained in:
commit
8e4f077b23
5 changed files with 170 additions and 103 deletions
15
users/andreaciceri/default.nix
Normal file
15
users/andreaciceri/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
home-manager.users."andreaciceri" = {...}: {
|
||||
imports = [
|
||||
../profiles/bat
|
||||
../profiles/fzf
|
||||
../profiles/zsh
|
||||
../profiles/direnv
|
||||
../profiles/exa
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
yarn
|
||||
];
|
||||
};
|
||||
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
|
@ -55,5 +55,8 @@
|
|||
PROMPT = "\\\${IN_NIX_SHELL:+[nix-shell] }$PROMPT";
|
||||
};
|
||||
loginExtra = "[[ -z $DISPLAY && $TTY = /dev/tty1 ]] && exec sway";
|
||||
initExtra = if pkgs.system == "x86_64-darwin"
|
||||
then "if test -e /etc/static/bashrc; then source /etc/static/bashrc > /dev/null 2>&1; fi"
|
||||
else "";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue