Skip to content

Commit

Permalink
Add a lot more config
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jan 8, 2024
1 parent 9a9deaa commit 9192d2e
Show file tree
Hide file tree
Showing 21 changed files with 560 additions and 351 deletions.
187 changes: 124 additions & 63 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 13 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:nixos/nixos-hardware";

home-manager = {
url = "github:nix-community/home-manager";
Expand All @@ -19,7 +20,15 @@
inputs.nixpkgs.follows = "nixpkgs";
};

nixos-hardware.url = "github:nixos/nixos-hardware";
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};

bin = {
url = "github:joinemm/bin";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = {
Expand All @@ -29,6 +38,8 @@
disko,
nixvim,
nixos-hardware,
nix-index-database,
bin,
} @ inputs: let
inherit (self) outputs;
in {
Expand All @@ -46,10 +57,7 @@
};
hetzner = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;};
modules = [
./hosts/hetzner/configuration.nix
disko.nixosModules.disko
];
modules = [./hosts/hetzner/configuration.nix];
};
};
};
Expand Down
8 changes: 7 additions & 1 deletion home-modules/common.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
{pkgs, ...}: {
home.stateVersion = "23.11";
dconf.enable = true;
systemd.user.startServices = "sd-switch";
programs.home-manager.enable = true;

# this needs to be done separately for home manager
nixpkgs = {
config.allowUnfree = true;
overlays = import ../overlays {inherit pkgs;};
};
}
3 changes: 2 additions & 1 deletion home-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
zsh = import ./zsh.nix;
xresources = import ./xresources.nix;
wezterm = import ./wezterm.nix;
mimeapps = import ./mimeapps.nix;
xinitrc = import ./xinitrc.nix;
dunst = import ./dunst.nix;
picom = import ./picom.nix;
git = import ./git.nix;
ssh-personal = import ./ssh-personal.nix;
ssh-work = import ./ssh-work.nix;
hidpi = import ./hidpi.nix;
rofi = import ./rofi.nix;
discord = import ./discord.nix;
}
21 changes: 21 additions & 0 deletions home-modules/discord.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{pkgs, ...}: {
home.packages = with pkgs; [
(discord.override {
withOpenASAR = true;
withVencord = true;
})
];
xdg.configFile = {
"Vencord/themes/midnight.theme.css".text = ''
@import url('https://refact0r.github.io/midnight-discord/midnight.css');
:root {
--font: 'ggsans';
--text-2: hsl(220, 30%, 80%); /* headings and important text */
--text-3: hsl(220, 15%, 80%); /* normal text */
--text-4: hsl(220, 15%, 50%); /* icon buttons and channels */
--text-5: hsl(220, 15%, 25%); /* muted channels/chats and timestamps */
}
'';
};
}
Loading

0 comments on commit 9192d2e

Please sign in to comment.