Compare commits

...

2 Commits

Author SHA1 Message Date
d63b34e2cd Fix no package. 2024-02-14 20:38:42 +01:00
1762d53397 Testing new config. 2024-02-14 20:33:50 +01:00
4 changed files with 21 additions and 25 deletions

View File

@ -15,19 +15,25 @@
}; };
}; };
outputs = { self, nixpkgs, ... }@inputs: outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
let nixosConfigurations = {
system = "x86_64-linux"; default = nixpkgs.lib.nixosSystem {
pkgs = nixpkgs.legacyPackages.${system}; system = "x86_64-linux";
in modules = [
{ ./nixos/configuration.nix
nixosConfigurations.default = nixpkgs.lib.nixosSystem { home-manager.nixosModules.home-manager
specialArgs = {inherit inputs;}; {
modules = [ home-manager.useGlobalPkgs = true;
./hosts/default/configuration.nix home-manager.extraSpecialArgs = {inherit inputs;};
inputs.home-manager.nixosModules.default home-manager.users.crony = {
]; imports = [
}; ./home-manager/home.nix
];
};
}
];
};
}; };
};
} }

View File

@ -1,11 +1,10 @@
{ config, pkgs, inputs, ... }: { config, pkgs, ... }:
{ {
# Imports # Imports
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
inputs.home-manager.nixosModules.default
]; ];
# Bootloader. # Bootloader.
@ -274,15 +273,6 @@
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
# Enable home manager for my user
home-manager = {
useGlobalPkgs = true;
extraSpecialArgs = {inherit inputs;};
users = {
"crony" = import ./home.nix;
};
};
# Allow appimages to run manually # Allow appimages to run manually
boot.binfmt.registrations.appimage = { boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false; wrapInterpreterInShell = false;