Reorganized
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, ... }:{
|
||||
imports = [./gpg-agent.nix
|
||||
./name.nix];
|
||||
|
||||
#OPTIONS
|
||||
options.azos.name = lib.mkOption{
|
||||
default = "YOUR NAME HERE";
|
||||
type = lib.types.str;
|
||||
description = "Your full name.";
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
#https://xeiaso.net/talks/asg-2023-nixos/ example
|
||||
{ lib, config, pkgs, ... }:{
|
||||
home.file."name.txt".text = ''${config.azos.name}'';
|
||||
}
|
||||
+6
-12
@@ -18,7 +18,10 @@
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
./gpg-agent.nix
|
||||
# ./gpg-agent.nix
|
||||
# ./options.nix
|
||||
# ./name.nix
|
||||
./base
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
@@ -49,26 +52,18 @@
|
||||
};
|
||||
|
||||
azos.gpgagent.enable = true;
|
||||
azos.name = "Aner Zakobar";
|
||||
|
||||
# TODO: Set your username
|
||||
home = {
|
||||
username = "aner";
|
||||
homeDirectory = "/home/aner";
|
||||
|
||||
|
||||
};
|
||||
|
||||
# config = {
|
||||
# #My config stuff
|
||||
# azos.gpg-agent.enable = true;
|
||||
# };
|
||||
# home.config.azos.gpg-agent.enable = true;
|
||||
|
||||
|
||||
# Add stuff for your user as you see fit:
|
||||
# programs.neovim.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
steam
|
||||
# steam
|
||||
emacs
|
||||
pandoc
|
||||
offlineimap #emailing
|
||||
@@ -84,7 +79,6 @@
|
||||
programs.home-manager.enable = true;
|
||||
programs.git.enable = true;
|
||||
|
||||
|
||||
# Nicely reload system units when changing configs
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user