mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 15:13:55 -05:00
slateport: dorp aly-nox and declare simplified home config
This commit is contained in:
parent
c47a7cce82
commit
228978566f
30
flake.nix
30
flake.nix
|
@ -125,17 +125,21 @@
|
||||||
|
|
||||||
homeManagerModules = {
|
homeManagerModules = {
|
||||||
default = import ./homeManagerModules self;
|
default = import ./homeManagerModules self;
|
||||||
aly = import ./homes/aly/gui.nix self;
|
aly = import ./homes/aly self;
|
||||||
aly-nox = import ./homes/aly/nox.nix self;
|
|
||||||
dustin = import ./homes/dustin self;
|
dustin = import ./homes/dustin self;
|
||||||
morgan = import ./homes/morgan self;
|
morgan = import ./homes/morgan self;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixosModules = {
|
nixosModules = {
|
||||||
hw-framework-13-amd-7000 = import ./hwModules/framework/13/amd-7000;
|
common-auto-upgrade = import ./common/autoUpgrade.nix;
|
||||||
hw-framework-13-intel-11th = import ./hwModules/framework/13/intel-11th;
|
common-base = import ./common/base.nix;
|
||||||
hw-lenovo-yoga-9i-intel-13th = import ./hwModules/lenovo/yoga-9i/intel-13th;
|
common-locale = import ./common/locale.nix;
|
||||||
hw-thinkpad-t440p = import ./hwModules/thinkpad/t440p;
|
common-mauville-share = import ./common/samba.nix;
|
||||||
|
common-nix = import ./common/nix.nix;
|
||||||
|
common-overlays = import ./common/overlays.nix;
|
||||||
|
common-pkgs = import ./common/pkgs.nix;
|
||||||
|
common-tailscale = import ./common/tailscale.nix;
|
||||||
|
common-wifi-profiles = import ./common/wifi.nix;
|
||||||
|
|
||||||
hw-common-amd-cpu = import ./hwModules/common/gpu/amd;
|
hw-common-amd-cpu = import ./hwModules/common/gpu/amd;
|
||||||
hw-common-amd-gpu = import ./hwModules/common/cpu/amd;
|
hw-common-amd-gpu = import ./hwModules/common/cpu/amd;
|
||||||
|
@ -146,16 +150,10 @@
|
||||||
hw-common-laptop-amd-gpu = import ./hwModules/common/laptop/amd-gpu.nix;
|
hw-common-laptop-amd-gpu = import ./hwModules/common/laptop/amd-gpu.nix;
|
||||||
hw-common-laptop-intel-cpu = import ./hwModules/common/laptop/intel-cpu.nix;
|
hw-common-laptop-intel-cpu = import ./hwModules/common/laptop/intel-cpu.nix;
|
||||||
hw-common-ssd = import ./hwModules/common/ssd;
|
hw-common-ssd = import ./hwModules/common/ssd;
|
||||||
|
hw-framework-13-amd-7000 = import ./hwModules/framework/13/amd-7000;
|
||||||
common-auto-upgrade = import ./common/autoUpgrade.nix;
|
hw-framework-13-intel-11th = import ./hwModules/framework/13/intel-11th;
|
||||||
common-base = import ./common/base.nix;
|
hw-lenovo-yoga-9i-intel-13th = import ./hwModules/lenovo/yoga-9i/intel-13th;
|
||||||
common-locale = import ./common/locale.nix;
|
hw-thinkpad-t440p = import ./hwModules/thinkpad/t440p;
|
||||||
common-mauville-share = import ./common/samba.nix;
|
|
||||||
common-nix = import ./common/nix.nix;
|
|
||||||
common-overlays = import ./common/overlays.nix;
|
|
||||||
common-pkgs = import ./common/pkgs.nix;
|
|
||||||
common-tailscale = import ./common/tailscale.nix;
|
|
||||||
common-wifi-profiles = import ./common/wifi.nix;
|
|
||||||
|
|
||||||
nixos = import ./nixosModules self;
|
nixos = import ./nixosModules self;
|
||||||
users = import ./userModules self;
|
users = import ./userModules self;
|
||||||
|
|
|
@ -1,51 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
home = {
|
|
||||||
homeDirectory = "/home/aly";
|
|
||||||
|
|
||||||
packages = with pkgs; [
|
|
||||||
curl
|
|
||||||
];
|
|
||||||
|
|
||||||
stateVersion = "24.05";
|
|
||||||
username = "aly";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
lfs.enable = true;
|
|
||||||
userName = "Aly Raffauf";
|
|
||||||
userEmail = "aly@raffauflabs.com";
|
|
||||||
|
|
||||||
extraConfig = {
|
|
||||||
color.ui = true;
|
|
||||||
github.user = "alyraffauf";
|
|
||||||
push.autoSetupRemote = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
gitui.enable = true;
|
|
||||||
home-manager.enable = true;
|
|
||||||
|
|
||||||
rbw = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
base_url = "https://passwords.raffauflabs.com";
|
|
||||||
email = "alyraffauf@fastmail.com";
|
|
||||||
lock_timeout = 14400;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.
|
|
||||||
|
|
||||||
ar.home = {
|
|
||||||
apps = {
|
|
||||||
fastfetch.enable = true;
|
|
||||||
helix.enable = true;
|
|
||||||
shell.enable = true;
|
|
||||||
yazi.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,6 +1,5 @@
|
||||||
self: {pkgs, ...}: {
|
self: {pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
|
||||||
./firefox
|
./firefox
|
||||||
./mail
|
./mail
|
||||||
./secrets.nix
|
./secrets.nix
|
||||||
|
@ -15,6 +14,7 @@ self: {pkgs, ...}: {
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
bitwarden-desktop
|
bitwarden-desktop
|
||||||
|
curl
|
||||||
fractal
|
fractal
|
||||||
nicotine-plus
|
nicotine-plus
|
||||||
obsidian
|
obsidian
|
||||||
|
@ -29,15 +29,47 @@ self: {pkgs, ...}: {
|
||||||
username = "aly";
|
username = "aly";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.rbw.settings.pinentry = pkgs.pinentry-gnome3;
|
programs = {
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
lfs.enable = true;
|
||||||
|
userName = "Aly Raffauf";
|
||||||
|
userEmail = "aly@raffauflabs.com";
|
||||||
|
|
||||||
|
extraConfig = {
|
||||||
|
color.ui = true;
|
||||||
|
github.user = "alyraffauf";
|
||||||
|
push.autoSetupRemote = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gitui.enable = true;
|
||||||
|
home-manager.enable = true;
|
||||||
|
|
||||||
|
rbw = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
base_url = "https://passwords.raffauflabs.com";
|
||||||
|
email = "alyraffauf@fastmail.com";
|
||||||
|
lock_timeout = 14400;
|
||||||
|
pinentry = pkgs.pinentry-gnome3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.
|
systemd.user.startServices = "legacy"; # Needed for auto-mounting agenix secrets.
|
||||||
|
|
||||||
ar.home = {
|
ar.home = {
|
||||||
apps = {
|
apps = {
|
||||||
chromium.enable = true;
|
chromium.enable = true;
|
||||||
|
fastfetch.enable = true;
|
||||||
firefox.enable = true;
|
firefox.enable = true;
|
||||||
|
helix.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
shell.enable = true;
|
||||||
vsCodium.enable = true;
|
vsCodium.enable = true;
|
||||||
|
yazi.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultApps = {
|
defaultApps = {
|
|
@ -1,13 +0,0 @@
|
||||||
self: {pkgs, ...}: {
|
|
||||||
imports = [
|
|
||||||
./common.nix
|
|
||||||
./secrets.nix
|
|
||||||
self.homeManagerModules.default
|
|
||||||
self.inputs.agenix.homeManagerModules.default
|
|
||||||
];
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
helix.defaultEditor = true;
|
|
||||||
rbw.settings.pinentry = pkgs.pinentry-tty;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -3,5 +3,32 @@
|
||||||
self,
|
self,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
home-manager.users.aly = lib.mkForce self.homeManagerModules.aly-nox;
|
home-manager.users.aly = lib.mkForce (
|
||||||
|
{pkgs, ...}: {
|
||||||
|
imports = [self.homeManagerModules.default];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
homeDirectory = "/home/aly";
|
||||||
|
|
||||||
|
packages = with pkgs; [
|
||||||
|
curl
|
||||||
|
];
|
||||||
|
|
||||||
|
stateVersion = "24.05";
|
||||||
|
username = "aly";
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
helix.defaultEditor = true;
|
||||||
|
home-manager.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
ar.home.apps = {
|
||||||
|
fastfetch.enable = true;
|
||||||
|
helix.enable = true;
|
||||||
|
shell.enable = true;
|
||||||
|
yazi.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue