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"
|
"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 = [
|
imports = [
|
||||||
|
<home-manager/nixos>
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../boot.nix
|
../../boot.nix
|
||||||
../../common.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 = [
|
imports = [
|
||||||
../../home-common.nix
|
../../home-common.nix
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
news.display = "show";
|
news.display = "show";
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
nerdfonts
|
nerdfonts
|
||||||
glibcLocales
|
glibcLocales
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ 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 = ''
|
home.file.".gdbinit".text = ''
|
||||||
set auto-load python-scripts on
|
set auto-load python-scripts on
|
||||||
add-auto-load-safe-path /home/cyryl/dev/dotfiles/.gdbinit
|
add-auto-load-safe-path /home/cyryl/dev/dotfiles/.gdbinit
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.file.".vimrc".source = ~/dev/dotfiles/.vimrc.nixos;
|
home.file.".vimrc".source = /home/cyryl/dev/dotfiles/.vimrc.nixos;
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
viAlias = true;
|
viAlias = true;
|
||||||
|
|
Loading…
Reference in a new issue