This commit is contained in:
arielherself 2024-08-06 14:48:53 +08:00
parent 6d0f86a77e
commit c549bc839d
Signed by: arielherself
SSH Key Fingerprint: SHA256:AK3cyo9tFsp7Mox7K0sYphleC8hReXhnRKxwuDT5LBc
1 changed files with 3 additions and 12 deletions

View File

@ -6,6 +6,7 @@ let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; }; unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
in { in {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
unstable.config.allowUnfree = true;
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
home.username = "user"; home.username = "user";
@ -15,6 +16,8 @@ in {
targets.genericLinux.enable = true; targets.genericLinux.enable = true;
xdg.mime.enable = true; xdg.mime.enable = true;
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = { home.file = {
".profile" = { ".profile" = {
source = ../.profile; source = ../.profile;
@ -213,19 +216,7 @@ in {
# '') # '')
]; ];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = { home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
}; };
# Home Manager can also manage your environment variables through # Home Manager can also manage your environment variables through