Compare commits

...

3 commits

6 changed files with 105 additions and 132 deletions

View file

@ -53,22 +53,8 @@
# Standalone home-manager configuration entrypoint # Standalone home-manager configuration entrypoint
# Available through 'home-manager --flake .#your-username@your-hostname' # Available through 'home-manager --flake .#your-username@your-hostname'
homeConfigurations = { homeConfigurations = {
"gabe@archlaptop" = home-manager.lib.homeManagerConfiguration { "gabe@archlaptop" = import ./hosts/gabe-archlaptop.nix {inherit inputs outputs;};
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance "gabe@gv-workstation" = import ./hosts/gabe-gv-workstation.nix {inherit inputs outputs;};
extraSpecialArgs = {inherit inputs outputs;};
modules = [
./hosts/gabe-archlaptop.nix
nixvim.homeManagerModules.nixvim
];
};
"gabe@gv-workstation" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
extraSpecialArgs = {inherit inputs outputs;};
modules = [
./hosts/gabe-gv-workstation.nix
nixvim.homeManagerModules.nixvim
];
};
}; };
}; };
} }

View file

@ -1,35 +1,47 @@
{ {
config, inputs,
pkgs, outputs,
lib,
... ...
}: { }:
# machine specific options inputs.home-manager.lib.homeManagerConfiguration {
home = { pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
enable-speech = true; extraSpecialArgs = {inherit inputs outputs;};
nvim = { modules = [
enable-lsp = true; ({
enable-treesitter = true; config,
}; pkgs,
git = { lib,
profile = { ...
name = "Gabe Venberg"; }: {
email = "gabevenberg@gmail.com"; # machine specific options
home = {
enable-speech = true;
nvim = {
enable-lsp = true;
enable-treesitter = true;
};
git = {
profile = {
name = "Gabe Venberg";
email = "gabevenberg@gmail.com";
};
workProfile.enable = false;
};
}; };
workProfile.enable = false;
};
};
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
home.username = "gabe"; home.username = "gabe";
home.homeDirectory = /home/gabe; home.homeDirectory = /home/gabe;
imports = [ imports = [
../modules/home-manager/terminal ../modules/home-manager/terminal
../modules/home-manager/nvim ../modules/home-manager/nvim
../modules/home-manager ../modules/home-manager
../modules/home-manager/syncthing.nix ../modules/home-manager/syncthing.nix
../modules/home-manager/beets.nix ../modules/home-manager/beets.nix
../modules/home-manager/mpd/mpd.nix ../modules/home-manager/mpd/mpd.nix
../modules/home-manager/email.nix ../modules/home-manager/email.nix
];
})
inputs.nixvim.homeManagerModules.nixvim
]; ];
} }

View file

@ -1,38 +1,50 @@
{ {
config, inputs,
pkgs, outputs,
lib,
... ...
}: { }:
# machine specific options inputs.home-manager.lib.homeManagerConfiguration {
home = { pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance
enable-speech = true; extraSpecialArgs = {inherit inputs outputs;};
nvim = { modules = [
enable-lsp = true; inputs.nixvim.homeManagerModules.nixvim
enable-treesitter = true; ({
}; config,
git = { pkgs,
profile = { lib,
name = "Gabe Venberg"; ...
email = "gabevenberg@gmail.com"; }: {
# machine specific options
home = {
enable-speech = true;
nvim = {
enable-lsp = true;
enable-treesitter = true;
};
git = {
profile = {
name = "Gabe Venberg";
email = "gabevenberg@gmail.com";
};
workProfile = {
enable = true;
email = "venberggabe@johndeere.com";
};
};
}; };
workProfile = {
enable = true;
email = "venberggabe@johndeere.com";
};
};
};
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
home.username = "gabe"; home.username = "gabe";
home.homeDirectory = /home/gabe; home.homeDirectory = /home/gabe;
imports = [ imports = [
../modules/home-manager/terminal ../modules/home-manager/terminal
../modules/home-manager/nvim ../modules/home-manager/nvim
../modules/home-manager ../modules/home-manager
../modules/home-manager/syncthing.nix ../modules/home-manager/syncthing.nix
../modules/home-manager/email.nix ../modules/home-manager/email.nix
../modules/home-manager/beets.nix ../modules/home-manager/beets.nix
../modules/home-manager/mpd/mpd.nix ../modules/home-manager/mpd/mpd.nix
];
})
]; ];
} }

View file

@ -14,9 +14,15 @@
lib.mkIf config.targets.genericLinux.enable lib.mkIf config.targets.genericLinux.enable
{ {
package = pkgs.nix; package = pkgs.nix;
settings.experimental-features = ["nix-command" "flakes"]; settings = {
settings.max-jobs = "auto"; experimental-features = ["nix-command" "flakes"];
gc.automatic = true; max-jobs = "auto";
};
gc = {
automatic = true;
frequency = "weekly";
options = "--delete-older-than 30d";
};
}; };
imports = [ imports = [
../hostopts.nix ../hostopts.nix

View file

@ -1,52 +0,0 @@
asciidoc
ASCIISite
asciidoctor
ASCIIsite
asciiDoc
nextcloud
filesystem
zsh
backend
Incrementals
incrementals
Ransomware
ransomware
hypervisor
offsite
FTL
superintelligent
homeworld
toolchain
Kata
ctl
NDSU
rebasing
posix
tmux
keybinds
dotfile
dotfiles
ctrl
sed
NGINX
timezones
Proxmox
Gabe
Venberg
Github
dotfiles
config
nvim
neovim
config
Syncthing
homelab
microcontrollers
nushell
datatypes
datetimes
filesizes
filetypes
datastructures
footguns
csv

View file

@ -13,6 +13,15 @@
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
optimise.automatic = true;
settings = {
auto-optimise-store = true;
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
}; };
# Allow unfree packages # Allow unfree packages