Compare commits

..

No commits in common. "bb6c9ea5d1128663e2e8fede52db57265b7b283c" and "e844d29eaec24bb12f799bcabb458bb658813273" have entirely different histories.

7 changed files with 24 additions and 49 deletions

View file

@ -43,12 +43,20 @@ outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstabl
nixosConfigurations = { nixosConfigurations = {
Archie = nixpkgs-unstable.lib.nixosSystem { Archie = nixpkgs-unstable.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
/* pkgs = import nixpkgs-unstable {
I used to set up nixpkgs in the flake, but doing that made system = "x86_64-linux";
defining overlays in modules impossible (or at least I could config = { allowUnfree = true; }; # TODO: Find why this doesn't work
not figure out how) overlays =
Also has nice side effect of making it easier to add new systems :3 let
*/ discordOverlay = self: super: {
discord = super.discord.override {
withOpenASAR = true;
withVencord = true;
};
};
in
[ discordOverlay ];
};
modules = [ modules = [
# Needed for nix-index # Needed for nix-index
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; } { nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
@ -64,6 +72,10 @@ outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstabl
Everest = nixpkgs.lib.nixosSystem { Everest = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs {
system = "x86_64-linux";
config = { allowUnfree = false; }; # TODO: Find why this doesn't work
};
modules = [ modules = [
# Needed for nix-index # Needed for nix-index
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; } { nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }

View file

@ -4,7 +4,6 @@
imports = [ imports = [
./htop.nix ./htop.nix
./nix.nix ./nix.nix
./micro.nix
./nix-index.nix ./nix-index.nix
./command-not-found.nix ./command-not-found.nix
]; ];
@ -12,6 +11,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
speedtest-cli speedtest-cli
bat bat
micro
nvd nvd
ncdu ncdu
tree tree

View file

@ -1,17 +0,0 @@
{ config, pkgs, ... }:
{
home-manager = {
users.toast = { config, pkgs, ... }:
{
programs.micro = {
enable = true;
settings = {
clipboard = "terminal";
indentchar = "|";
softwrap = true;
};
};
};
};
}

View file

@ -4,7 +4,6 @@
imports = [ imports = [
./discord.nix ./discord.nix
./firefox.nix ./firefox.nix
./micro.nix
./keepassxc.nix ./keepassxc.nix
]; ];
} }

View file

@ -1,5 +1,9 @@
{ config, pkgs, ... }: { 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 let
discordOverlay = self: super: { discordOverlay = self: super: {
discord = super.discord.override { discord = super.discord.override {
@ -8,8 +12,7 @@
}; };
}; };
in in
{ [ discordOverlay ]; */
nixpkgs.overlays = [ discordOverlay ];
users.users.toast.packages = with pkgs; [ users.users.toast.packages = with pkgs; [
discord discord
]; ];

View file

@ -1,21 +0,0 @@
{ config, pkgs, lib, ... }:
{
home-manager = {
users.toast = { config, pkgs, ... }:
{
programs.micro = {
enable = true;
settings = {
# Use xclip/wl-clipboard for copying and pasting
clipboard = lib.mkForce "external";
};
};
/*
On a kde wayland session micro uses xsel or xclip instead of wl-clipboard
which doesn't work, so I only install wl-clipboard here to make micro use it
*/
home.packages = with pkgs; [ wl-clipboard ];
};
};
}

View file

@ -13,7 +13,6 @@
enableSessionWide = true; enableSessionWide = true;
settings = { settings = {
preset = 4; preset = 4;
no_display = true;
}; };
}; };
}; };