Compare commits
2 commits
bab66bc390
...
c028fc200d
| Author | SHA1 | Date | |
|---|---|---|---|
| c028fc200d | |||
| 0282590dd8 |
3 changed files with 38 additions and 1 deletions
11
flake.nix
11
flake.nix
|
|
@ -39,6 +39,16 @@ outputs = {nixpkgs, agenix, home-manager, nixpkgs-unstable, nix-impermanence, ..
|
||||||
pkgs = import nixpkgs-unstable {
|
pkgs = import nixpkgs-unstable {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config = { allowUnfree = true; }; # TODO: Find why this doesn't work
|
config = { allowUnfree = true; }; # TODO: Find why this doesn't work
|
||||||
|
overlays =
|
||||||
|
let
|
||||||
|
discordOverlay = self: super: {
|
||||||
|
discord = super.discord.override {
|
||||||
|
withOpenASAR = true;
|
||||||
|
withVencord = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
[ discordOverlay ];
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
# Needed for nix-index
|
# Needed for nix-index
|
||||||
|
|
@ -46,6 +56,7 @@ outputs = {nixpkgs, agenix, home-manager, nixpkgs-unstable, nix-impermanence, ..
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModule
|
home-manager.nixosModule
|
||||||
./roles/common
|
./roles/common
|
||||||
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
./machines/Archie
|
./machines/Archie
|
||||||
];
|
];
|
||||||
|
|
|
||||||
7
roles/desktop/default.nix
Executable file
7
roles/desktop/default.nix
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./discord.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
19
roles/desktop/discord.nix
Normal file
19
roles/desktop/discord.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
# TODO: Find out why this does not do anything. If I put this
|
||||||
|
# on flake.nix it does work, so it's not completely wrong.
|
||||||
|
/* nixpkgs.overlays =
|
||||||
|
let
|
||||||
|
discordOverlay = self: super: {
|
||||||
|
discord = super.discord.override {
|
||||||
|
withOpenASAR = true;
|
||||||
|
withVencord = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in
|
||||||
|
[ discordOverlay ]; */
|
||||||
|
users.users.toast.packages = with pkgs; [
|
||||||
|
discord
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue