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 {
|
||||
system = "x86_64-linux";
|
||||
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 = [
|
||||
# Needed for nix-index
|
||||
|
|
@ -46,6 +56,7 @@ outputs = {nixpkgs, agenix, home-manager, nixpkgs-unstable, nix-impermanence, ..
|
|||
agenix.nixosModules.default
|
||||
home-manager.nixosModule
|
||||
./roles/common
|
||||
./roles/desktop
|
||||
./roles/kde
|
||||
./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