This commit is contained in:
Steph 2024-07-01 23:59:35 +02:00
parent 48e2a1b754
commit 8373071588
2 changed files with 25 additions and 23 deletions

View File

@ -12,36 +12,37 @@
}; };
outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons }@inputs: { outputs = { self, nixpkgs, home, firefox-gnome-theme, firefox-addons }@inputs: {
nixosConfigurations.iota = nixpkgs.lib.nixosSystem { nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
home.nixosModules.home-manager home.nixosModules.home-manager
{ {
imports = [ imports = [
./configuration.nix ./configuration.nix
./hardware-configuration/iota.nix ./hardware-configuration/iota.nix
{_module.args = {inherit inputs;};} {_module.args = {inherit inputs;};}
]; ];
home-manager.users.steph = import ./home.nix; home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; }; home-manager.extraSpecialArgs = { inherit inputs ; };
}]; }
];
}; };
nixosConfigurations.tau = nixpkgs.lib.nixosSystem { nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
home.nixosModules.home-manager home.nixosModules.home-manager
{ {
imports = [ imports = [
./configuration.nix ./configuration.nix
./hardware-configuration/tau.nix ./hardware-configuration/tau.nix
{_module.args = {inherit inputs;};} {_module.args = {inherit inputs;};}
]; ];
home-manager.users.steph = import ./home.nix; home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; }; home-manager.extraSpecialArgs = { inherit inputs ; };
}]; }
];
}; };
}; };

View File

@ -96,6 +96,7 @@ $NEW_PROMPT_COMMAND"
eval "$(direnv hook bash)" eval "$(direnv hook bash)"
export NIXPKGS_ALLOW_UNFREE=1
''; '';
programs.bash.shellAliases = { programs.bash.shellAliases = {
chmod = "chmod --preserve-root"; chmod = "chmod --preserve-root";