new flake

This commit is contained in:
2023-11-29 20:50:25 +00:00
parent ca61daf085
commit 44e26348db
3 changed files with 21 additions and 12 deletions

View File

@@ -36,19 +36,13 @@ outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
# settings to nixpkgs-unstable goes to here
};
#hostName = "StuPC";
# make all inputs availabe in other nix files
inherit inputs;
};
modules = [
# Root on ZFS related configuration
./modules
# Configuration shared by all hosts
# Configuration per host
./hosts/${hostName}

View File

@@ -1,5 +1,6 @@
{
lib,
outputs,
pkgs,
config,
hostName,
@@ -8,8 +9,10 @@
# imports = [
#./global.nix
#"../modules/vscode-server/home.nix"
# ];
# ../modules/home-manager/beets
# ../modules/home-manager/keybase
# ../modules/home-manager/ssh-proxy
# ];
home.username = "sstent";
home.homeDirectory = "/home/sstent";
home.stateVersion = "23.05";
@@ -29,12 +32,11 @@
# home.file."/home/sstent/.config/beets/test".source = config.lib.file.mkOutOfStoreSymlink /run/user/1000/secrets/test;
imports =
[
# imports =
# [
# ./beets.nix
# ./keybase.nix
];
# ++ (builtins.attrValues outputs.homeManagerModules);
# ] ++ (builtins.attrValues homeManagerModules);
###dotfiles path variable
@@ -45,6 +47,11 @@
#programs.git.enable = true;
# custom = {
# ssh-proxy.enable = false;
# beets.enable = true;
# keybase.enable = true;
# };
# Let Home Manager install and manage itself.

View File

@@ -0,0 +1,8 @@
{ config, lib, pkgs, ... }: { imports = [
./home-manager/beets
./home-manager/keybase
./home-manager/ssh-proxy
]; }