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" = { fileSystems."/home/alex/Documents" = {
device = "/media/external/Documents"; device = "/media/external/Documents";

View File

@ -12,16 +12,14 @@
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./configuration.nix ./configuration.nix
# home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
# { {
# home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
# home-manager.useUserPackages = true; home-manager.useUserPackages = true;
# # Optionally, use home-manager.extraSpecialArgs to pass # Optionally, use home-manager.extraSpecialArgs to pass
# # arguments to home.nix # 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 # Home Manager needs a bit of information about you and the
# # paths it should manage. # paths it should manage.
# home.username = "alex"; home.username = "alex";
# home.homeDirectory = "/home/alex"; home.homeDirectory = "/home/alex";
# # Packages that should be installed to the user profile. # Packages that should be installed to the user profile.
# home.packages = [ 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 # Let Home Manager install and manage itself.
# pkgs.nixpkgs-fmt programs.home-manager.enable = true;
# ]; }
# # 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;
# }

View File

@ -5,7 +5,7 @@ then
git push --force-with-lease git push --force-with-lease
sudo nixos-rebuild switch \ sudo nixos-rebuild switch \
--show-trace \ --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 else
echo "Git working directory is unclean, please commit changes" echo "Git working directory is unclean, please commit changes"
exit 1 exit 1