remove home-manager and some old files

This commit is contained in:
2026-04-20 00:08:47 +01:00
parent 7ed11cbb54
commit 67a1e0ced0
25 changed files with 194 additions and 1393 deletions
+3 -10
View File
@@ -4,7 +4,9 @@
imports = [
./hardware-configuration.nix
../graphical/configuration.nix
inputs.home-manager.nixosModules.default
./file.nix
./pkgs.nix
./services.nix
];
networking.hostName = "lmdesktop";
@@ -47,15 +49,6 @@
};
};
home-manager = {
useGlobalPkgs = true;
extraSpecialArgs = { inherit inputs; inherit cfg; };
users = {
"${cfg.username}" = import ./home.nix;
};
backupFileExtension = ".bak";
};
# This option defines the first version of NixOS you have installed on this particular machine
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
# and migrated your data accordingly.
+2 -7
View File
@@ -1,22 +1,17 @@
{ cfg, config, context, pkgs, ... }:
let
inherit (config.home) username homeDirectory;
mkSymlinkAttrs = import ../../utils/mkSymlinkAttrs.nix {
inherit pkgs;
inherit (cfg) context runtimeRoot;
hm = config.lib; # same as: cfg.context.inputs.home-manager.lib.hm;
};
in
{
imports = [
../graphical/file.nix # import shared configs
];
imports = [ ../graphical/file.nix ];
# Symlink per-host ddtfiles
home.file = mkSymlinkAttrs {
systemd.user.tmpfiles.rules = mkSymlinkAttrs {
".config/hypr/hypr-monitors.conf" = {
source = ../../configs/hypr-desktop/hypr-monitors.conf;
outOfStoreSymlink = true;
+1 -5
View File
@@ -9,7 +9,7 @@
];
# BEGIN PER-HOST PACKAGES
home.packages = with pkgs; [
users.users.liamm.packages = with pkgs; [
android-studio
genymotion
fred
@@ -19,9 +19,5 @@
shotcut
nvtopPackages.nvidia
];
# BEGIN PER-HOST PROGRAMS
programs = {
};
}