mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
new flake
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
8
modules/home-manager/default.nix
Normal file
8
modules/home-manager/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }: { imports = [
|
||||
|
||||
|
||||
./home-manager/beets
|
||||
./home-manager/keybase
|
||||
./home-manager/ssh-proxy
|
||||
|
||||
]; }
|
||||
Reference in New Issue
Block a user