no warnings

This commit is contained in:
Till 2026-01-22 17:00:18 +01:00
parent 50d6a79e31
commit a1e9bb892a
3 changed files with 15 additions and 10 deletions

View file

@ -38,13 +38,18 @@
modules = [ ./hosts/mila ]; modules = [ ./hosts/mila ];
}; };
nova = nixpkgs.lib.nixosSystem { nova =
nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ ./hosts/nova modules = [
./hosts/nova
{
nixpkgs.config.allowUnfree = true;
}
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = { inherit inputs; }; home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; # home-manager.useUserPackages = true;
home-manager.users.till = { home-manager.users.till = {
imports = [ imports = [
./home ./home

View file

@ -5,12 +5,12 @@
home.homeDirectory = "/home/till"; home.homeDirectory = "/home/till";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
nixpkgs = { # nixpkgs = {
config = { # config = {
allowUnfree = true; # allowUnfree = true;
allowUnfreePredicate = (_: true); # allowUnfreePredicate = (_: true);
}; # };
}; # };
programs.home-manager.enable = true; programs.home-manager.enable = true;

View file

@ -26,7 +26,7 @@
pulse.enable = true; pulse.enable = true;
}; };
nixpkgs.config.allowUnfree = true; # nixpkgs.config.allowUnfree = true;
environment.sessionVariables = { environment.sessionVariables = {
XDG_CONFIG_HOME = "$HOME/.config"; XDG_CONFIG_HOME = "$HOME/.config";