NixOS restructuring, move common imports to lib

This commit is contained in:
Gene Liverman 2024-12-08 00:36:28 -05:00
parent f95cc09e13
commit d72f1264b2
35 changed files with 33 additions and 92 deletions

View file

@ -1,7 +0,0 @@
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix
../../common/all-linux.nix
];
}

View file

@ -1,7 +0,0 @@
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix
../../common/all-linux.nix
];
}

View file

@ -1,8 +0,0 @@
{ ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix
../../common/all-linux.nix
../../common/hm-sops.nix
];
}

View file

@ -1,22 +0,0 @@
local_git_config: ENC[AES256_GCM,data:ECcO9NiS6Xo1AevHx/4tIGmhVHTG+WHIJI/RgYLe4DbptPJQFxFMBEk=,iv:xPvAfNywX7Ww3iwZDwQGTa88ZoJZqnIjdNDv4R0iAf0=,tag:bQ7rNxPniyP7SNW8Nz+1rw==,type:str]
local_private_env: ENC[AES256_GCM,data:Eg1IYFMJFysMavh1ssddpO3fzoyrKpA2dfSNSUUUsb/548IxqOktXIArR5bqbWVL//bUmnYI3N37jYRFiQSO,iv:50WBKSSy/Ea6l6kdggeoVCXhRG6lc4QxQBm1CoK2RTc=,tag:USADBcnceslCg3ueSikf+w==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1rpy8edlpgxuf6w75cvlqexuq2xe4c49h9t2ge6jhc3fzczp8vfasnjelwq
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBveXpUSFNmVXJFTy9ieWRv
a1Fpb2xic1lnYW5mZ2VaY1dyOXVUbkNGWnlNCkxKcUZVbm0rRUNydERUeC9ueloy
N3d0NGxyaTFCd1lMUmh2VklqbTZJalkKLS0tIC8xb1VnZU0xbmdObnZIUjRvU01k
bmtPb3hjTkxMaDJwSGQ0amF5ci85UXcK16fgU78H4SK8LKDyYCUgMdRE2ZTygzyE
spYcQ8w+PvQSxLUFJKW6DZdkSXLkNR0HkmVkuSmBKW0lVNWCfXbfvA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-01-28T00:59:32Z"
mac: ENC[AES256_GCM,data:Dcs3LkQtReunJGQl1aBy/fo022r0fwAdjDKRlgGsDtnWWEWZww6+n30yCkMjDrQCZm4NekDCYrEd0Dhq90nLON+vxykojxd/UTBEX86NIxUrGtO3faotP0/buVi59JgqQQqBDB14GpJttZGVr59LVlxieG1PhpmE9lFePpT8eR4=,iv:7KmeBD4Pk+guEW0nb9/W7olsF36bwfZtFkehO5u40po=,tag:PJmbdqiud4FHxbVcZv2png==,type:str]
pgp: []
unencrypted_suffix: _unencrypted
version: 3.8.1

View file

@ -1,7 +0,0 @@
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix
../../common/all-linux.nix
];
}

View file

@ -1,7 +0,0 @@
{ ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix
../../common/all-linux.nix
];
}

View file

@ -1,10 +1,5 @@
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix
../../common/all-gui.nix
../../common/all-darwin.nix
];
sops = {
defaultSopsFile = ./secrets.yaml;

View file

@ -1,10 +1,5 @@
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix
../../common/all-gui.nix
../../common/all-darwin.nix
];
programs = {
go = {

View file

@ -1,10 +1,5 @@
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../home.nix
../../common
../../common/all-gui.nix
];
programs = {
go = {

View file

@ -1,11 +1,9 @@
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix
../../common/all-gui.nix
../../common/all-linux.nix
../../common/linux-apps/tilix.nix
../../common/linux-apps/xfce4-terminal.nix
../../common/linux/apps/tilix.nix
../../common/linux/apps/xfce4-terminal.nix
];
programs = {

View file

@ -1,6 +1,6 @@
{ hostname, pkgs, username, ... }: {
imports = [
./linux/internationalisation.nix
../common/linux/internationalisation.nix
];
environment = {

View file

@ -0,0 +1,3 @@
{ ... }: {
home.stateVersion = "24.05";
}

View file

@ -2,8 +2,8 @@
domain = "technicalissues.us";
in {
imports = [
../../../../system/common/linux/lets-encrypt.nix
../../../../system/common/linux/restic.nix
../../../common/linux/lets-encrypt.nix
../../../common/linux/restic.nix
./matrix-synapse.nix
./nginx.nix
];

View file

@ -0,0 +1,3 @@
{ ... }: {
home.stateVersion = "24.05";
}

View file

@ -118,6 +118,7 @@
description = "Gene Liverman";
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFvLaPTfG3r+bcbI6DV4l69UgJjnwmZNCQk79HXyf1Pt gene@rainbow-planet"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIp42X5DZ713+bgbOO+GXROufUFdxWo7NjJbGQ285x3N gene.liverman@ltnglobal.com"
];
};

View file

@ -0,0 +1,3 @@
{ ... }: {
home.stateVersion = "24.05";
}

View file

@ -9,8 +9,8 @@ in {
./hardware-configuration.nix
./containers/audiobookshelf.nix
./containers/psitransfer.nix
../../../system/common/linux/lets-encrypt.nix
../../../system/common/linux/restic.nix
../../common/linux/lets-encrypt.nix
../../common/linux/restic.nix
];
system.stateVersion = "23.11";

View file

@ -0,0 +1,3 @@
{ ... }: {
home.stateVersion = "23.11";
}

View file

@ -1,7 +1,7 @@
{ inputs, config, pkgs, username, ... }: {
imports = [
./hardware-configuration.nix
../../../system/common/linux/flatpaks.nix
../../common/linux/flatpaks.nix
];
system.stateVersion = "23.05";

View file

@ -1,14 +1,12 @@
{ pkgs, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix
../../common/all-gui.nix
../../common/all-linux.nix
../../common/linux-apps/hexchat.nix
../../common/linux-apps/pidgin.nix
../../common/linux-apps/tilix.nix
../../common/linux-apps/waybar.nix
../../common/linux-apps/xfce4-terminal.nix
../../common/linux/apps/hexchat.nix
../../common/linux/apps/pidgin.nix
../../common/linux/apps/tilix.nix
../../common/linux/apps/waybar.nix
../../common/linux/apps/xfce4-terminal.nix
];
home.file = {