This commit is contained in:
serenity-F 2025-12-31 01:28:59 +10:00
parent 2e2d98a841
commit 4049c17abd
4 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
{ inputs, lib, pkgs, primaryUser, ... }:
{ inputs, lib, pkgs, user, ... }:
{
@ -46,7 +46,7 @@
trusted-users = [ # adds root, @wheel, and ${primaryUser} to trusted users
"root"
"@wheel"
"${primaryUser}"
"${user}"
];
experimental-features = [ # enable flakes uwu,,, and some other junk idek
"pipe-operators" # who tf knows

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, modulesPath, primaryUser, ... }:
{ config, lib, modulesPath, user, ... }:
{
@ -36,7 +36,7 @@
options = [ "fmask=0022" "dmask=0022" ];
};
fileSystems."/run/media/${primaryUser}/Tartarus" = {
fileSystems."/run/media/${user}/Tartarus" = {
device = "/dev/disk/by-uuid/26d8d9d1-67d2-4d61-a092-10ed7368b9f6";
fsType = "ext4";
};

View file

@ -8,7 +8,7 @@
}:
{
home-manager.users.${primaryUser} = {
home-manager.users.${user} = {
# import the home manager module
imports = [ inputs.noctalia.homeModules.default ];

View file

@ -1,4 +1,4 @@
{ pkgs, config, inputs, flakePath, disksPath, primaryUser, homeDir, ... }:
{ pkgs, config, inputs, flakePath, disksPath, user, homeDirectory, ... }:
{
@ -12,7 +12,7 @@
defaultSopsFile = ./secrets.yaml; # default secrets file
defaultSopsFormat = "yaml"; # .yaml format - ease of use
age = {
keyFile = "${homeDir}/.config/sops/age/keys.txt"; # keyfile location
keyFile = "${homeDirectory}/.config/sops/age/keys.txt"; # keyfile location
generateKey = true; # generate a new key if the one above is missing
};