Compare commits
No commits in common. "74b7feb0431c8de81cc152e3680b765d3a1f0725" and "4e2f1cb44db607473fe74d5b7c60dd3644fe99bb" have entirely different histories.
74b7feb043
...
4e2f1cb44d
6
base.nix
6
base.nix
@ -29,6 +29,12 @@
|
|||||||
trusted-users = [ "felixalb" ];
|
trusted-users = [ "felixalb" ];
|
||||||
builders-use-substitutes = true;
|
builders-use-substitutes = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
registry= {
|
||||||
|
nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
};
|
||||||
|
|
||||||
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
11
flake.nix
11
flake.nix
@ -51,7 +51,7 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
nixosConfigurations = let
|
nixosConfigurations = let
|
||||||
normalSys = name: hostConfig: nixpkgs.lib.nixosSystem {
|
normalSys = name: config: nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
@ -59,7 +59,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
({ config, pkgs, ... }: {
|
({ config, pkgs, ... }: {
|
||||||
# Make "pkgs.unstable" etc. available
|
# Make "pkgs.unstable" etc. available
|
||||||
nixpkgs.overlays = [ pkgs-overlay ] ++ hostConfig.overlays or [ ];
|
nixpkgs.overlays = [ pkgs-overlay ] ++ config.overlays or [ ];
|
||||||
})
|
})
|
||||||
|
|
||||||
./hosts/${name}/configuration.nix
|
./hosts/${name}/configuration.nix
|
||||||
@ -69,9 +69,9 @@
|
|||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.users = {
|
home-manager.users = {
|
||||||
"felixalb" = import ./hosts/${name}/home.nix;
|
"felixalb" = import ./hosts/${name}/home.nix;
|
||||||
} // hostConfig.home-manager-users or { };
|
} // config.home-manager-users or { };
|
||||||
}
|
}
|
||||||
] ++ hostConfig.modules or [ ];
|
] ++ config.modules or [ ];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
|
|
||||||
@ -107,7 +107,8 @@
|
|||||||
morn = normalSys "morn" { };
|
morn = normalSys "morn" { };
|
||||||
|
|
||||||
# Home desktop
|
# Home desktop
|
||||||
sisko = normalSys "sisko" { };
|
sisko = normalSys "sisko" {
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Daily driver macbook
|
# Daily driver macbook
|
||||||
|
@ -57,10 +57,6 @@
|
|||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
virtiofsd
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"copilot.vim"
|
"copilot.vim"
|
||||||
@ -72,7 +68,6 @@
|
|||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"openssl-1.1.1w"
|
"openssl-1.1.1w"
|
||||||
];
|
];
|
||||||
rocmSupport = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
swayimg
|
swayimg
|
||||||
thunderbird
|
thunderbird
|
||||||
tor-browser
|
tor-browser
|
||||||
# unstable.bambu-studio
|
unstable.bambu-studio
|
||||||
unstable.bolt-launcher
|
unstable.bolt-launcher
|
||||||
|
|
||||||
exiftool
|
exiftool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user