feat: tried adding a fish theme
This commit is contained in:
parent
7818ed2d8f
commit
2fdf680564
28
flake.nix
28
flake.nix
|
@ -13,12 +13,16 @@
|
||||||
|
|
||||||
easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix";
|
easy-purescript-nix.url = "github:justinwoo/easy-purescript-nix";
|
||||||
easy-purescript-nix.flake = false;
|
easy-purescript-nix.flake = false;
|
||||||
|
|
||||||
|
z.url = "github:jethrokuan/z";
|
||||||
|
z.flake = false;
|
||||||
|
|
||||||
|
agnoster.url = "github:oh-my-fish/theme-agnoster";
|
||||||
|
agnoster.flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, nixos-unstable,
|
outputs = { self, nixpkgs, home-manager, nixos-unstable, easy-purescript-nix
|
||||||
easy-purescript-nix,
|
, easy-dhall-nix, z, agnoster, ... }: {
|
||||||
easy-dhall-nix,
|
|
||||||
... }: {
|
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -27,11 +31,17 @@
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
|
|
||||||
# Make inputs available inside the config
|
# Make inputs available inside the config
|
||||||
({ pkgs, ... }: {
|
({ pkgs, ... }: {
|
||||||
nixpkgs.overlays = [(self: super: {
|
nixpkgs.overlays = [
|
||||||
easy-purescript-nix = import easy-purescript-nix { inherit pkgs; };
|
(self: super: {
|
||||||
easy-dhall-nix = import easy-dhall-nix { inherit pkgs; };
|
easy-purescript-nix =
|
||||||
})];
|
import easy-purescript-nix { inherit pkgs; };
|
||||||
|
easy-dhall-nix = import easy-dhall-nix { inherit pkgs; };
|
||||||
|
|
||||||
|
fishPlugins.z = z;
|
||||||
|
fishThemes.agnoster = agnoster;
|
||||||
|
})
|
||||||
|
];
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,50 +4,52 @@
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
window = {
|
window = {
|
||||||
|
decorations = "none";
|
||||||
|
|
||||||
padding = {
|
padding = {
|
||||||
x = 4;
|
x = 8;
|
||||||
y = 8;
|
y = 8;
|
||||||
};
|
};
|
||||||
|
|
||||||
gtk_theme_variant = "dark";
|
gtk_theme_variant = "light";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.normal.family = "Source Code Pro";
|
|
||||||
|
|
||||||
# transparent bg:)
|
# transparent bg:)
|
||||||
background_opacity = 0.7;
|
background_opacity = 0.3;
|
||||||
|
fonts.normal.family = "Source Code Pro";
|
||||||
|
|
||||||
colors = {
|
colors = {
|
||||||
cursor = {
|
cursor = {
|
||||||
text = "#1460d2";
|
text = "#c880b7";
|
||||||
cursor = "#f0cc09";
|
cursor = "#fcf68d";
|
||||||
};
|
};
|
||||||
selection = {
|
selection = {
|
||||||
text = "#b5b5b5";
|
text = "#b5b5b5";
|
||||||
background = "#18354f";
|
background = "#18354f";
|
||||||
};
|
};
|
||||||
primary = {
|
primary = {
|
||||||
background = "#132738";
|
background = "#f7fff7";
|
||||||
foreground = "#ffffff";
|
foreground = "#18354f";
|
||||||
};
|
};
|
||||||
normal = {
|
normal = {
|
||||||
black = "#000000";
|
black = "#3d0a3b";
|
||||||
red = "#ff0000";
|
red = "#c880b7";
|
||||||
green = "#38de21";
|
blue = "#6f38c7";
|
||||||
yellow = "#ffe50a";
|
yellow = "#8de336";
|
||||||
blue = "#1460d2";
|
green = "#2ec0f9";
|
||||||
magenta = "#ff005d";
|
magenta = "#fc90c3";
|
||||||
cyan = "#00bbbb";
|
cyan = "#ff577e";
|
||||||
white = "#bbbbbb";
|
white = "#e2e8ef";
|
||||||
};
|
};
|
||||||
bright = {
|
bright = {
|
||||||
black = "#555555";
|
black = "#5e105c";
|
||||||
red = "#f40e17";
|
red = "#ec9ded";
|
||||||
green = "#3bd01d";
|
green = "#b726d4";
|
||||||
yellow = "#edc809";
|
yellow = "#fff773";
|
||||||
blue = "#5555ff";
|
blue = "#75d5fa";
|
||||||
magenta = "#ff55ff";
|
magenta = "#ffb3d7";
|
||||||
cyan = "#6ae3fa";
|
cyan = "#ffcf66";
|
||||||
white = "#ffffff";
|
white = "#ffffff";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
gource
|
gource
|
||||||
# Store secrets in github repos
|
# Store secrets in github repos
|
||||||
git-secret
|
git-secret
|
||||||
|
git-crypt
|
||||||
# Both of these are github clis
|
# Both of these are github clis
|
||||||
gh
|
gh
|
||||||
hub
|
hub
|
||||||
|
|
|
@ -3,10 +3,11 @@ let
|
||||||
shellAliases = import ./aliases.nix;
|
shellAliases = import ./aliases.nix;
|
||||||
common = import ./common.nix;
|
common = import ./common.nix;
|
||||||
in {
|
in {
|
||||||
# home-manager.users.adrielus.programs.fish = {
|
home-manager.users.adrielus.programs.fish = {
|
||||||
# inherit shellAliases;
|
inherit shellAliases;
|
||||||
# shellInit = common.shellInit;
|
shellInit = common.shellInit;
|
||||||
|
plugins = [ fishPlugins.z fishThemes.agnoster ];
|
||||||
|
|
||||||
# enable = true;
|
enable = true;
|
||||||
# };
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }: {
|
{ pkgs, ... }: {
|
||||||
home-manager.users.adrielus = {
|
home-manager.users.adrielus = {
|
||||||
xsession.windowManager.xmonad = {
|
xsession.windowManager.xmonad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -6,15 +6,12 @@
|
||||||
config = ./xmonad.hs;
|
config = ./xmonad.hs;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/plasma-workspace/env/set_window_manager.sh".text =
|
home.packages = with pkgs; [ xwallpaper ];
|
||||||
"export KDEWM=/home/adrielus/.nix-profile/bin/xmonad";
|
|
||||||
};
|
|
||||||
|
|
||||||
# services.compton = {
|
# Tell KDE to use xmonad
|
||||||
# enable = true;
|
# home.file.".config/plasma-workspace/env/set_window_manager.sh".text =
|
||||||
# activeOpacity = "0.8";
|
# "export KDEWM=/home/adrielus/.nix-profile/bin/xmonad";
|
||||||
# inactiveOpacity = "0.8";
|
|
||||||
# fade = true;
|
services.picom = { enable = true; };
|
||||||
# shadow = true;
|
};
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
import Data.Function ( (&) )
|
|
||||||
import Control.Monad ( join )
|
import Control.Monad ( join )
|
||||||
|
import Data.Function ( (&) )
|
||||||
|
|
||||||
import XMonad
|
import XMonad
|
||||||
import XMonad.Config.Kde
|
|
||||||
import XMonad.Util.EZConfig
|
|
||||||
import XMonad.Actions.SpawnOn
|
import XMonad.Actions.SpawnOn
|
||||||
import XMonad.Hooks.ManageDocks
|
import XMonad.Config.Kde
|
||||||
import XMonad.Hooks.EwmhDesktops ( fullscreenEventHook )
|
import XMonad.Hooks.EwmhDesktops ( fullscreenEventHook )
|
||||||
import XMonad.Hooks.EwmhDesktops ( ewmh )
|
import XMonad.Hooks.EwmhDesktops ( ewmh )
|
||||||
|
import XMonad.Hooks.ManageDocks
|
||||||
|
import XMonad.Util.EZConfig
|
||||||
|
|
||||||
import XMonad.Layout.Spacing
|
import XMonad.Layout.Spacing
|
||||||
import XMonad.Layout.ThreeColumns
|
import XMonad.Layout.ThreeColumns
|
||||||
|
@ -19,6 +19,7 @@ main =
|
||||||
$ kdeConfig
|
$ kdeConfig
|
||||||
{ modMask = mod4Mask
|
{ modMask = mod4Mask
|
||||||
, layoutHook = myLayoutHook
|
, layoutHook = myLayoutHook
|
||||||
|
, startupHook = startup
|
||||||
, manageHook = manageDocks <+> myManagerHook <+> manageHook kdeConfig
|
, manageHook = manageDocks <+> myManagerHook <+> manageHook kdeConfig
|
||||||
, handleEventHook = handleEventHook kdeConfig <+> fullscreenEventHook
|
, handleEventHook = handleEventHook kdeConfig <+> fullscreenEventHook
|
||||||
, terminal = myTerminal
|
, terminal = myTerminal
|
||||||
|
@ -66,3 +67,6 @@ main =
|
||||||
myLayoutHook = desktopLayoutModifiers $ spacingHook layouts
|
myLayoutHook = desktopLayoutModifiers $ spacingHook layouts
|
||||||
|
|
||||||
|
|
||||||
|
startup :: X ()
|
||||||
|
startup = do
|
||||||
|
spawn "xwallpaper --focus ./gradient.jpg"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
# fromNpm = import ./npm { inherit pkgs; };
|
|
||||||
node = pkgs.nodejs-12_x;
|
node = pkgs.nodejs-12_x;
|
||||||
yarn = pkgs.yarn.override { nodejs = node; };
|
yarn = pkgs.yarn.override { nodejs = node; };
|
||||||
in {
|
in {
|
||||||
|
@ -15,6 +14,7 @@ in {
|
||||||
pnpm
|
pnpm
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
|
# TODO: find a good way to reinstall some of these
|
||||||
/* tsdx
|
/* tsdx
|
||||||
mklicense
|
mklicense
|
||||||
preact-cli
|
preact-cli
|
||||||
|
|
|
@ -7,7 +7,7 @@ with import ../secrets.nix; {
|
||||||
|
|
||||||
extraGroups = [ "wheel" "networkmanager" "lp" "docker" ];
|
extraGroups = [ "wheel" "networkmanager" "lp" "docker" ];
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
# shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,16 +4,25 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
xkbOptions = "eurosign:e";
|
xkbOptions = "eurosign:e";
|
||||||
|
|
||||||
# Enable the KDE Desktop Environment.
|
# Make the xmonad session the default
|
||||||
# displayManager.sddm.enable = true;
|
displayManager.defaultSession = "none+xmonad";
|
||||||
# desktopManager.plasma5.enable = true;
|
|
||||||
|
|
||||||
# displayManager.defaultSession = "none+xmonad";
|
# Enable xmonad
|
||||||
windowManager.xmonad = {
|
windowManager.xmonad = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableContribAndExtras = true;
|
enableContribAndExtras = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable xfce I think?
|
||||||
|
desktopManager = {
|
||||||
|
xterm.enable = false;
|
||||||
|
xfce = {
|
||||||
|
enable = true;
|
||||||
|
noDesktop = true;
|
||||||
|
enableXfwm = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
libinput = {
|
libinput = {
|
||||||
# Enable touchpad support.
|
# Enable touchpad support.
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue