Add multi-host configuration
based loosely on https://github.com/tom-on-the-internet/system-configuration
This commit is contained in:
parent
f554a9038b
commit
8f0f5b9bbf
13 changed files with 254 additions and 240 deletions
45
hosts/home.nix
Normal file
45
hosts/home.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ config, pkgs, user, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../vim.nix
|
||||
../wallpaper.nix
|
||||
../picom.nix
|
||||
../i3.nix
|
||||
../polybar
|
||||
../rofi
|
||||
../git.nix
|
||||
../terminal.nix
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home = {
|
||||
username = "${user}";
|
||||
homeDirectory = "/home/${user}";
|
||||
|
||||
stateVersion = "22.05";
|
||||
|
||||
packages = with pkgs; [
|
||||
# Command line utilities
|
||||
wget
|
||||
neofetch
|
||||
ranger
|
||||
trash-cli # aliased to rm in .bashrc
|
||||
|
||||
# GUI applications
|
||||
firefox
|
||||
discord
|
||||
];
|
||||
|
||||
file = {
|
||||
".bashrc" = {
|
||||
source = ../.bashrc;
|
||||
};
|
||||
};
|
||||
|
||||
sessionVariables = {
|
||||
EDITOR = "vim";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue