daje
This commit is contained in:
parent
c47d25c943
commit
91dd406c3e
10
lib/user.nix
10
lib/user.nix
@ -23,4 +23,14 @@
|
||||
home-manager.users.${name}.imports = [ (mkRole "common") ]
|
||||
++ roles_mod;
|
||||
};
|
||||
|
||||
mkHMUser = { name, roles ? [] }:
|
||||
let
|
||||
mkRole = role: import (../roles/home + "/${role}.nix");
|
||||
in{
|
||||
home-manager.users.${name}.imports = [ (mkRole "common") ]
|
||||
++ roles_mod;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ config, pkgs, unstable, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
let unstable = import <nixos-unstable> { };
|
||||
in {
|
||||
imports = [ ./zsh.nix ./git.nix ];
|
||||
|
||||
home = {
|
||||
@ -9,8 +10,6 @@
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
};
|
||||
|
||||
packages = with pkgs; [ rizin sshfs nixfmt victor-mono ];
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
@ -24,6 +23,7 @@
|
||||
cmake-format
|
||||
clang-tools
|
||||
rustfmt
|
||||
nixfmt
|
||||
];
|
||||
extraConfig = ''
|
||||
" syntax
|
||||
|
@ -7,5 +7,8 @@
|
||||
plugins = [ "git" "sudo" "docker" "docker-compose" "adb" "systemd" ];
|
||||
theme = "bira";
|
||||
};
|
||||
initExtra = ''
|
||||
source ~/.profile
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user