Merge 'home-manager' flake into NixOS flake
This commit is contained in:
42
home/hosts/work/default.nix
Normal file
42
home/hosts/work/default.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
imports = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = "${builtins.toString inputs.nix-secrets}/secrets.yaml";
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/hektor/.config/sops/age/keys.txt";
|
||||
|
||||
secrets."test" = { };
|
||||
};
|
||||
|
||||
nixGL = {
|
||||
packages = inputs.nixgl.packages;
|
||||
defaultWrapper = "mesa";
|
||||
};
|
||||
|
||||
home.username = "hektor";
|
||||
home.homeDirectory = "/home/hektor";
|
||||
home.stateVersion = "25.05";
|
||||
|
||||
programs.anki = import ../../modules/anki.nix;
|
||||
programs.firefox = import ../../modules/firefox.nix {
|
||||
inherit inputs;
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
};
|
||||
programs.git = import ../../modules/git.nix;
|
||||
programs.keepassxc = import ../../modules/keepassxc.nix;
|
||||
programs.neovim = import ../../modules/neovim.nix;
|
||||
home.packages = import ./packages.nix {
|
||||
inherit pkgs;
|
||||
inherit config;
|
||||
};
|
||||
}
|
||||
3
home/hosts/work/packages.nix
Normal file
3
home/hosts/work/packages.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
with pkgs; [ ]
|
||||
Reference in New Issue
Block a user