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 # settings to nixpkgs-unstable goes to here
}; };
#hostName = "StuPC";
# make all inputs availabe in other nix files # make all inputs availabe in other nix files
inherit inputs; inherit inputs;
}; };
modules = [ modules = [
# Root on ZFS related configuration
./modules ./modules
# Configuration shared by all hosts
# Configuration per host
./hosts/${hostName} ./hosts/${hostName}

View File

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