In the future it would be smart to either make this a part of some CI or make it be done automatically as a hook.
L2MS4TSNRLJSAN6IYUQJQIDLBJ46DI6J72RQV7VUDMY6LZE44G5AC
(self: super: {
#discord = super.discord.overrideAttrs (_: {
# src = builtins.fetchTarball {
# src = "https://discordapp.com/api/download?platform=linux&format=tar.gz";
#}});
})
(self: super:
{
#discord = super.discord.overrideAttrs (_: {
# src = builtins.fetchTarball {
# src = "https://discordapp.com/api/download?platform=linux&format=tar.gz";
#}});
})
outputs = { home-manager, nixpkgs, ... }:
let settings = import ./settings.nix; in{
nixosConfigurations.nixos = (nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = ([
(home-manager.nixosModules.home-manager)
{
config = {
home-manager.users.bender = import ./bender/home.nix;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
nixpkgs.overlays = import ./bender/overlays;
};
}
] ++ (if settings.machine == "laptop" then
[ ./system/laptop/configuration.nix ]
else if settings.machine == "desktop" then
[ ./system/desktop/configuration.nix ]
outputs = { home-manager, nixpkgs, ... }:
let settings = import ./settings.nix;
in {
nixosConfigurations.nixos = (nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = ([
(home-manager.nixosModules.home-manager)
{
config = {
home-manager.users.bender = import ./bender/home.nix;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
nixpkgs.overlays = import ./bender/overlays;
};
}
] ++ (if settings.machine == "laptop" then
[ ./system/laptop/configuration.nix ]
else if settings.machine == "desktop" then
[ ./system/desktop/configuration.nix ]
home = "/home/bender";
description = "Arvinder Dhanoa";
isNormalUser = true;
extraGroups = [ "wheel" "scanner" "lp" ];
passwordFile = home + "/.secrets/passwordfile";
home = "/home/bender";
description = "Arvinder Dhanoa";
isNormalUser = true;
extraGroups = [ "wheel" "scanner" "lp" ];
passwordFile = home + "/.secrets/passwordfile";