Compare commits

...

3 Commits

Author SHA1 Message Date
1fe8d17523 Remove prism 2024-10-06 14:14:49 +02:00
5500164669 Reformat emacs config 2024-10-06 14:14:23 +02:00
f07ab92268 Living on nixpkgs unstable now 2024-10-06 14:13:12 +02:00
11 changed files with 103 additions and 236 deletions

189
flake.lock generated
View File

@ -135,22 +135,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1650374568,
"narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "b4a34015c698c7793d592d66adbab377907a2be8",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_2"
@ -173,24 +157,6 @@
"inputs": { "inputs": {
"flake-utils": "flake-utils_3" "flake-utils": "flake-utils_3"
}, },
"locked": {
"lastModified": 1696331477,
"narHash": "sha256-YkbRa/1wQWdWkVJ01JvV+75KIdM37UErqKgTf0L54Fk=",
"owner": "gytis-ivaskevicius",
"repo": "flake-utils-plus",
"rev": "bfc53579db89de750b25b0c5e7af299e0c06d7d3",
"type": "github"
},
"original": {
"owner": "gytis-ivaskevicius",
"repo": "flake-utils-plus",
"type": "github"
}
},
"flake-utils-plus_2": {
"inputs": {
"flake-utils": "flake-utils_4"
},
"locked": { "locked": {
"lastModified": 1715533576, "lastModified": 1715533576,
"narHash": "sha256-fT4ppWeCJ0uR300EH3i7kmgRZnAVxrH+XtK09jQWihk=", "narHash": "sha256-fT4ppWeCJ0uR300EH3i7kmgRZnAVxrH+XtK09jQWihk=",
@ -242,24 +208,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_4": {
"inputs": {
"systems": "systems_5"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"gitignore": { "gitignore": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -289,38 +237,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1726989464, "lastModified": 1728041527,
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=", "narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176", "rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-24.05",
"repo": "home-manager",
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"prism",
"nixpkgs"
]
},
"locked": {
"lastModified": 1698162493,
"narHash": "sha256-Zehw3cWiTXGGlDDjzTgIX1BhWG+049D/RcSMAiypAcM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "14b54157201fd574b0fa1b3ce7394c9d3a87fbc1",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -628,11 +553,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1727348695, "lastModified": 1728018373,
"narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=", "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784", "rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -674,6 +599,22 @@
} }
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": {
"lastModified": 1728067476,
"narHash": "sha256-/uJcVXuBt+VFCPQIX+4YnYrHaubJSx4HoNsJVNRgANM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "6e6b3dd395c3b1eb9be9f2d096383a8d05add030",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable_3": {
"locked": { "locked": {
"lastModified": 1725762081, "lastModified": 1725762081,
"narHash": "sha256-vNv+aJUW5/YurRy1ocfvs4q/48yVESwlC/yHzjkZSP8=", "narHash": "sha256-vNv+aJUW5/YurRy1ocfvs4q/48yVESwlC/yHzjkZSP8=",
@ -707,27 +648,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1728067476, "lastModified": 1728018373,
"narHash": "sha256-/uJcVXuBt+VFCPQIX+4YnYrHaubJSx4HoNsJVNRgANM=", "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6e6b3dd395c3b1eb9be9f2d096383a8d05add030", "rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1697723726,
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -765,26 +690,6 @@
"type": "github" "type": "github"
} }
}, },
"prism": {
"inputs": {
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_3",
"snowfall-lib": "snowfall-lib"
},
"locked": {
"lastModified": 1714675036,
"narHash": "sha256-xGOQz4R8v0yy16tDhQpuswqeOuMm4bNZ9O4lhs6reK8=",
"owner": "IogaMaster",
"repo": "prism",
"rev": "3822346485a01fefb27f12d9f397c890b599ff7e",
"type": "github"
},
"original": {
"owner": "IogaMaster",
"repo": "prism",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"alacritty-theme": "alacritty-theme", "alacritty-theme": "alacritty-theme",
@ -796,9 +701,9 @@
"nix-matlab": "nix-matlab", "nix-matlab": "nix-matlab",
"nix-topology": "nix-topology", "nix-topology": "nix-topology",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable_2",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"prism": "prism", "snowfall-lib": "snowfall-lib",
"snowfall-lib": "snowfall-lib_2",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"yazi-flavors": "yazi-flavors" "yazi-flavors": "yazi-flavors"
} }
@ -807,29 +712,6 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
"flake-utils-plus": "flake-utils-plus", "flake-utils-plus": "flake-utils-plus",
"nixpkgs": [
"prism",
"nixpkgs"
]
},
"locked": {
"lastModified": 1696432959,
"narHash": "sha256-oJQZv2MYyJaVyVJY5IeevzqpGvMGKu5pZcCCJvb+xjc=",
"owner": "snowfallorg",
"repo": "lib",
"rev": "92803a029b5314d4436a8d9311d8707b71d9f0b6",
"type": "github"
},
"original": {
"owner": "snowfallorg",
"repo": "lib",
"type": "github"
}
},
"snowfall-lib_2": {
"inputs": {
"flake-compat": "flake-compat_4",
"flake-utils-plus": "flake-utils-plus_2",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@ -853,7 +735,7 @@
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_3"
}, },
"locked": { "locked": {
"lastModified": 1727734513, "lastModified": 1727734513,
@ -929,21 +811,6 @@
"type": "github" "type": "github"
} }
}, },
"systems_5": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols_2", "hyprland-protocols": "hyprland-protocols_2",

View File

@ -1,12 +1,14 @@
{ {
description = "Home Manager configuration of julian"; description = "Home Manager configuration of julian";
inputs = { inputs = rec {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs = nixpkgs-unstable;
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-24.05"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
@ -32,13 +34,14 @@
sops-nix.inputs.nixpkgs.follows = "nixpkgs"; sops-nix.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
# hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprland-plugins = { hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins"; url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland"; inputs.hyprland.follows = "hyprland";
}; };
nix-colors.url = "github:Misterio77/nix-colors"; nix-colors.url = "github:Misterio77/nix-colors";
prism.url = "github:IogaMaster/prism";
nix-topology.url = "github:oddlama/nix-topology"; nix-topology.url = "github:oddlama/nix-topology";
nix-topology.inputs.nixpkgs.follows = "nixpkgs"; nix-topology.inputs.nixpkgs.follows = "nixpkgs";

View File

@ -58,11 +58,11 @@
# neocmakelsp # cmake # neocmakelsp # cmake
# Rust setup # Rust setup
unstable.rustc rustc
unstable.rustfmt rustfmt
unstable.cargo cargo
unstable.clippy clippy
unstable.rust-analyzer rust-analyzer
# Further tools # Further tools
cntr # nix debugger cntr # nix debugger

View File

@ -10,7 +10,7 @@ with pkgs;
# makemkv # makemkv
audacity audacity
gnome.cheese cheese
zoom-us zoom-us
qutebrowser qutebrowser
@ -41,7 +41,7 @@ with pkgs;
tdesktop # telegram tdesktop # telegram
tealdeer tealdeer
gcolor2 # gcolor3 does not work gcolor3
# cups # cups
wget wget
nodejs nodejs
@ -68,8 +68,8 @@ with pkgs;
usbutils # lsusb usbutils # lsusb
pciutils # lspci pciutils # lspci
gnome.gnome-keyring gnome-keyring
gnome.seahorse seahorse
polkit_gnome polkit_gnome
nix-index nix-index
python3 python3
@ -151,7 +151,7 @@ with pkgs;
audible-cli audible-cli
unstable.path-of-building path-of-building
conda conda
watchexec # Run command when any file in current dir changes watchexec # Run command when any file in current dir changes

View File

@ -6,11 +6,11 @@ with pkgs;
shellcheck shellcheck
# Rust setup # Rust setup
unstable.rustc rustc
unstable.rustfmt rustfmt
unstable.cargo cargo
unstable.clippy clippy
unstable.rust-analyzer rust-analyzer
# Further tools # Further tools
lazygit lazygit
@ -18,7 +18,7 @@ with pkgs;
# makemkv # makemkv
audacity audacity
gnome.cheese cheese
zoom-us zoom-us
qutebrowser qutebrowser
@ -54,7 +54,7 @@ with pkgs;
tdesktop # telegram tdesktop # telegram
tealdeer tealdeer
gcolor2 # gcolor3 does not work gcolor3
# cups # cups
wget wget
gparted gparted
@ -83,8 +83,8 @@ with pkgs;
usbutils # lsusb usbutils # lsusb
pciutils # lspci pciutils # lspci
gnome.gnome-keyring gnome-keyring
gnome.seahorse seahorse
polkit_gnome polkit_gnome
nix-index nix-index
python3 python3
@ -162,7 +162,7 @@ with pkgs;
# cudaPackages.cudatoolkit # cudaPackages.cudatoolkit
# openmvg # openmvg
# colmapWithCuda # colmapWithCuda
unstable.path-of-building path-of-building
nheko nheko

View File

@ -3,11 +3,11 @@
with pkgs; with pkgs;
[ [
# Rust setup # Rust setup
unstable.rustc rustc
unstable.rustfmt rustfmt
unstable.cargo cargo
unstable.clippy clippy
unstable.rust-analyzer rust-analyzer
# Further tools # Further tools
cntr # nix debugger cntr # nix debugger

View File

@ -20,19 +20,10 @@ in
}; };
# Do not make conditional, just toggle things on and off # Do not make conditional, just toggle things on and off
imports = [ imports = [ inputs.nix-colors.homeManagerModules.default ];
inputs.prism.homeModules.prism
inputs.nix-colors.homeManagerModules.default
];
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# home.sessionVariables.GTK_THEME = "Catppuccin-Mocha-Compact-Blue-dark"; # home.sessionVariables.GTK_THEME = "Catppuccin-Mocha-Compact-Blue-dark";
prism = {
enable = true;
wallpapers = ./wallpapers;
colorscheme = inputs.nix-colors.colorschemes.${cfg.colorscheme};
};
gtk = { gtk = {
enable = true; enable = true;
theme = { theme = {

View File

@ -34,44 +34,47 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.sessionPath = [ "/home/julian/.config/emacs/bin" ]; home.sessionPath = [ "/home/julian/.config/emacs/bin" ];
home.packages = with pkgs; [ home.packages =
binutils # native-comp needs 'as', provided by this with pkgs;
[
binutils # native-comp needs 'as', provided by this
## Doom dependencies ## Doom dependencies
git git
(ripgrep.override { withPCRE2 = true; }) (ripgrep.override { withPCRE2 = true; })
## Optional dependencies ## Optional dependencies
fd # faster projectile indexing fd # faster projectile indexing
imagemagick # for image-dired imagemagick # for image-dired
zstd # for undo-fu-session/undo-tree compression zstd # for undo-fu-session/undo-tree compression
## Module dependencies ## Module dependencies
(aspellWithDicts ( (aspellWithDicts (
ds: with ds; [ ds: with ds; [
en en
en-computers en-computers
en-science en-science
de de
] ]
)) ))
sqlite sqlite
# Code formatters for use with doom emacs # Code formatters for use with doom emacs
nixfmt-rfc-style # nix nixfmt-rfc-style # nix
dockfmt # docker dockfmt # docker
google-java-format # java google-java-format # java
black # python black # python
unstable.rustfmt # rust rustfmt # rust
shfmt shfmt
pyright pyright
graphviz graphviz
# Lsps for use with doom emacs # Lsps for use with doom emacs
# neocmakelsp # cmake # neocmakelsp # cmake
emacs-all-the-icons-fonts emacs-all-the-icons-fonts
] ++ lib.optional config.modules.non-nixos.is-nixos emacs; ]
++ lib.optional config.modules.non-nixos.is-nixos emacs;
home.activation.installDoomEmacs = lib.home-manager.hm.dag.entryAfter [ "writeBoundary" ] '' home.activation.installDoomEmacs = lib.home-manager.hm.dag.entryAfter [ "writeBoundary" ] ''
if [ ! -d "/home/julian/.config/emacs" ]; then if [ ! -d "/home/julian/.config/emacs" ]; then

View File

@ -6,12 +6,16 @@
# pull packages into your overlay. # pull packages into your overlay.
# #
# All other arguments for this function are your flake inputs. # All other arguments for this function are your flake inputs.
{ nixpkgs-unstable, ... }: { nixpkgs-stable, nixpkgs-unstable, ... }:
final: prev: { final: prev: {
# unstable = nixpkgs-unstable.legacyPackages.${prev.system};
# use this variant if unfree packages are needed: # use this variant if unfree packages are needed:
unstable = import nixpkgs-unstable { unstable = import nixpkgs-unstable {
system = prev.system; system = prev.system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
# use this variant if unfree packages are needed:
stable = import nixpkgs-stable {
system = prev.system;
config.allowUnfree = true;
};
} }

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
bash bash
hyprshot hyprshot
gnome.zenity zenity
]; ];
dontBuild = true; dontBuild = true;

View File

@ -157,7 +157,6 @@
}; };
# Sound # Sound
sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
# needed on aspi for audio to work properly # needed on aspi for audio to work properly