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: {
nixosConfigurations.iota = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/iota.nix
{_module.args = {inherit inputs;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; };
}];
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/iota.nix
{_module.args = {inherit inputs;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; };
}
];
};
nixosConfigurations.tau = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/tau.nix
{_module.args = {inherit inputs;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; };
}];
home.nixosModules.home-manager
{
imports = [
./configuration.nix
./hardware-configuration/tau.nix
{_module.args = {inherit inputs;};}
];
home-manager.users.steph = import ./home.nix;
home-manager.useGlobalPkgs = true;
home-manager.extraSpecialArgs = { inherit inputs ; };
}
];
};
};

View File

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