mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 22:51:49 +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
|
# 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}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|||||||
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