This commit is contained in:
alex 2023-06-17 13:01:57 -04:00
parent 084fa4a64e
commit 6b9bfdc64e
4 changed files with 34 additions and 39 deletions

View File

@ -123,7 +123,7 @@ externaldrive UUID=b9e3979c-9362-4242-a835-6dd702dfb0ee /etc/externalHD_keyfile.
];
};
# home-manager.users.alex = import ./home.nix;
home-manager.users.alex = import ./home.nix;
fileSystems."/home/alex/Documents" = {
device = "/media/external/Documents";

View File

@ -12,16 +12,14 @@
system = "x86_64-linux";
modules = [
./configuration.nix
# home-manager.nixosModules.home-manager
# {
# home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true;
# # Optionally, use home-manager.extraSpecialArgs to pass
# # arguments to home.nix
# }
]
;
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix
}
];
};
};
}

View File

@ -1,29 +1,26 @@
# { config, pkgs, ... }:
{ config, pkgs, ... }:
# {
# # Home Manager needs a bit of information about you and the
# # paths it should manage.
# home.username = "alex";
# home.homeDirectory = "/home/alex";
{
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "alex";
home.homeDirectory = "/home/alex";
# # Packages that should be installed to the user profile.
# home.packages = [
# Packages that should be installed to the user profile.
home.packages = [
pkgs.nixpkgs-fmt
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "23.05";
# pkgs.htop
# pkgs.nixpkgs-fmt
# ];
# # This value determines the Home Manager release that your
# # configuration is compatible with. This helps avoid breakage
# # when a new Home Manager release introduces backwards
# # incompatible changes.
# #
# # You can update Home Manager without changing this value. See
# # the Home Manager release notes for a list of state version
# # changes in each release.
# home.stateVersion = "23.05";
# # Let Home Manager install and manage itself.
# programs.home-manager.enable = true;
# }
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}

View File

@ -5,7 +5,7 @@ then
git push --force-with-lease
sudo nixos-rebuild switch \
--show-trace \
--flake "git+https://git.atauno.com/atau/nixos-config.git#nixos76" > output.txt 2> err.txt
--flake "git+https://git.atauno.com/atau/nixos-config.git"
else
echo "Git working directory is unclean, please commit changes"
exit 1