ummmm.. icon themes, emacs yippie
This commit is contained in:
parent
10e149312d
commit
8f4a1a085d
17
flake.nix
17
flake.nix
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
||||
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -10,11 +11,22 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nur.url = "github:nix-community/nur";
|
||||
emacs-overlay = {
|
||||
url = "github:nix-community/emacs-overlay";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ { self, disko, nixpkgs, home-manager, ... }:
|
||||
outputs = inputs @ { self, disko, nixpkgs, nixpkgs-unstable, home-manager, emacs-overlay, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
config.allowUnfree = true; # Allow unfree packages globally
|
||||
};
|
||||
};
|
||||
|
||||
in rec {
|
||||
mkSystem = {host, ...}: nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
@ -46,8 +58,11 @@
|
|||
|
||||
overlays = [
|
||||
inputs.nur.overlays.default
|
||||
emacs-overlay.overlays.default
|
||||
overlay-unstable
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
nixosConfigurations = {
|
||||
|
|
|
@ -12,6 +12,7 @@ in {
|
|||
./libinput.nix
|
||||
./git-ssh.nix
|
||||
./emacs.nix
|
||||
./development
|
||||
];
|
||||
|
||||
programs.nh = {
|
||||
|
@ -19,6 +20,28 @@ in {
|
|||
# flake = "/etc/nixos/config#laptop"
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme = {
|
||||
name = "Breeze-Dark";
|
||||
package = pkgs.kdePackages.breeze-gtk;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
cursorTheme = {
|
||||
name = "WhiteSur-cursors";
|
||||
package = pkgs.whitesur-cursors;
|
||||
size = 24;
|
||||
};
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
};
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
home = {
|
||||
stateVersion = "25.05";
|
||||
|
@ -28,8 +51,19 @@ in {
|
|||
sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
VISUAL = "nvim";
|
||||
GTK_THEME = "Breeze-Dark";
|
||||
};
|
||||
|
||||
pointerCursor = {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
x11.defaultCursor = "WhiteSur-cursors";
|
||||
name = "WhiteSur-cursors";
|
||||
package = pkgs.whitesur-cursors;
|
||||
size = 32;
|
||||
};
|
||||
|
||||
|
||||
packages = with pkgs; [
|
||||
# Add your global packages here
|
||||
neovim
|
||||
|
@ -41,9 +75,12 @@ in {
|
|||
htop
|
||||
pavucontrol
|
||||
ripgrep
|
||||
vanilla-dmz
|
||||
|
||||
# file manager
|
||||
nemo-with-extensions
|
||||
|
||||
screenshot
|
||||
# nur.repos.LuisChDev.nordvpn
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
6
home/development/default.nix
Normal file
6
home/development/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./nix.nix
|
||||
./rust.nix
|
||||
];
|
||||
}
|
5
home/development/nix.nix
Normal file
5
home/development/nix.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
nixd
|
||||
];
|
||||
}
|
4
home/development/rust.nix
Normal file
4
home/development/rust.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{pkgs, ...}: {
|
||||
# home.packages = with pkgs; [
|
||||
# ];
|
||||
}
|
|
@ -10,12 +10,14 @@ in {
|
|||
# TODO: turn this into a FHS or package so these dependencies don't have to be
|
||||
# accessible from the global namespace.
|
||||
home.packages = with pkgs; [
|
||||
emacs
|
||||
python3
|
||||
enchant # spell checking
|
||||
enchant2 # spell checking
|
||||
enchant2.dev # for building jinx
|
||||
pkg-config
|
||||
ripgrep # for Emacs' ripgrep integration
|
||||
libvterm-neovim # vterm support for Emacs
|
||||
nodejs_24
|
||||
copilot-node-server
|
||||
copilot-language-server-fhs
|
||||
cmake
|
||||
libtool
|
||||
|
@ -35,10 +37,26 @@ in {
|
|||
tree-sitter-markdown
|
||||
pkgs.tree-sitter-slang
|
||||
]))
|
||||
];
|
||||
|
||||
# spelling
|
||||
(hunspellWithDicts [
|
||||
hunspellDicts.en-gb-ise
|
||||
hunspellDicts.en-gb-large
|
||||
hunspellDicts.de-de
|
||||
hunspellDicts.da-dk
|
||||
])
|
||||
|
||||
# language servers
|
||||
pkgs.unstable.rust-analyzer
|
||||
nixd];
|
||||
|
||||
# xdg.configFile = {
|
||||
# "emacs" = {
|
||||
# source = emacs-config;
|
||||
# };
|
||||
# };
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs-git-pgtk;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ in {
|
|||
alacritty
|
||||
waybar
|
||||
sway
|
||||
whitesur-cursors
|
||||
rofi-wayland
|
||||
];
|
||||
wayland = {
|
||||
|
@ -30,6 +31,12 @@ in {
|
|||
config = {
|
||||
modifier = "${mod}";
|
||||
|
||||
seat = {
|
||||
"*" = {
|
||||
xcursor_theme = "\"WhiteSur-cursors\" 32";
|
||||
};
|
||||
};
|
||||
|
||||
output = {
|
||||
"*".scale = "${lib.strings.floatToString super-config.desktop_scale}";
|
||||
};
|
||||
|
|
|
@ -47,6 +47,8 @@
|
|||
sudo.wheelNeedsPassword = false; # Allow sudo without password
|
||||
};
|
||||
|
||||
programs.dconf.enable = true;
|
||||
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
packages = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue