move home-manager to common config
This commit is contained in:
parent
1a9ff8cf3f
commit
3fdebf3fdf
5 changed files with 15 additions and 4 deletions
|
@ -46,7 +46,19 @@
|
|||
"home-manager=https://github.com/rycee/home-manager/archive/master.tar.gz"
|
||||
];
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
home-manager.users.cyryl = {...}: {
|
||||
imports = [
|
||||
./home.nix
|
||||
];
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
|
||||
nixpkgs.overlays = config.nixpkgs.overlays;
|
||||
nixpkgs.config = config.nixpkgs.config;
|
||||
};
|
||||
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
./hardware-configuration.nix
|
||||
../../boot.nix
|
||||
../../common.nix
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-double-bat.toml;
|
||||
home.file.".config/i3/status.toml".source = /home/cyryl/dev/dotfiles/.config/i3/status-double-bat.toml;
|
||||
|
||||
imports = [
|
||||
../../home-common.nix
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
news.display = "show";
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
nerdfonts
|
||||
glibcLocales
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.file.".config/nixpkgs/config.nix".source = ~/dev/dotfiles/nixos/shell-config.nix;
|
||||
home.file.".config/nixpkgs/config.nix".source = /home/cyryl/dev/dotfiles/nixos/shell-config.nix;
|
||||
home.file.".gdbinit".text = ''
|
||||
set auto-load python-scripts on
|
||||
add-auto-load-safe-path /home/cyryl/dev/dotfiles/.gdbinit
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.file.".vimrc".source = ~/dev/dotfiles/.vimrc.nixos;
|
||||
home.file.".vimrc".source = /home/cyryl/dev/dotfiles/.vimrc.nixos;
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
viAlias = true;
|
||||
|
|
Loading…
Reference in a new issue