Add tides home manager
This commit is contained in:
parent
24ce626020
commit
56f3846afe
2 changed files with 55 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
||||||
./nixos/machines/tides/machine.nix
|
./nixos/machines/tides/machine.nix
|
||||||
./home-manager/machines/wsl/home.nix
|
./home-manager/machines/wsl/home.nix
|
||||||
./home-manager/machines/crash/home.nix
|
./home-manager/machines/crash/home.nix
|
||||||
|
./home-manager/machines/tides/home.nix
|
||||||
./devshells/rust.nix
|
./devshells/rust.nix
|
||||||
./devshells/idris2.nix
|
./devshells/idris2.nix
|
||||||
./devshells/raku.nix
|
./devshells/raku.nix
|
||||||
|
|
54
home-manager/machines/tides/home.nix
Normal file
54
home-manager/machines/tides/home.nix
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
{
|
||||||
|
withSystem,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
# perSystem = { ... }: { config.packages.hello = ...; };
|
||||||
|
|
||||||
|
flake.homeConfigurations.tides = withSystem "tides-linux" (
|
||||||
|
ctx @ {
|
||||||
|
config,
|
||||||
|
inputs',
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = inputs.nixpkgs.legacyPackages.${"x86_64-linux"};
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit inputs inputs';
|
||||||
|
packages = config.packages;
|
||||||
|
};
|
||||||
|
modules = [
|
||||||
|
(
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
../../modules/programs/shell.nix
|
||||||
|
../../modules/programs/neovim.nix
|
||||||
|
(import ../../modules/programs/git.nix {})
|
||||||
|
../../modules/programs/core.nix
|
||||||
|
../../modules/programs/ssh.nix
|
||||||
|
];
|
||||||
|
home.username = "nathan";
|
||||||
|
home.homeDirectory = "/home/nathan/";
|
||||||
|
programs.command-not-found.enable = true;
|
||||||
|
home.stateVersion = "24.11";
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
# Allow unfree packages
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
# Machine specific configuration
|
||||||
|
services.emacs.defaultEditor = true;
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
];
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue