mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
feat: add some gui apps
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -3,6 +3,8 @@
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -15,6 +17,11 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
zen-browser = {
|
||||
url = "github:0xc000022070/zen-browser-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
# theming stuff
|
||||
catppuccin = {
|
||||
url = "github:catppuccin/nix";
|
||||
@@ -42,6 +49,7 @@
|
||||
outputs =
|
||||
{
|
||||
nixpkgs,
|
||||
nixpkgs-stable,
|
||||
home-manager,
|
||||
catppuccin,
|
||||
nixvim,
|
||||
@@ -70,6 +78,7 @@
|
||||
isNixOS = true;
|
||||
hostName = "default";
|
||||
animations = true;
|
||||
gaming = true;
|
||||
};
|
||||
|
||||
system = "x86_64-linux";
|
||||
@@ -79,6 +88,16 @@
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
pkgs-stable = import nixpkgs-stable {
|
||||
inherit system;
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"electron-38.8.4"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
mkHome =
|
||||
customConfig:
|
||||
let
|
||||
@@ -88,7 +107,7 @@
|
||||
inherit pkgs;
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit inputs userConfig;
|
||||
inherit inputs userConfig pkgs-stable;
|
||||
};
|
||||
|
||||
modules = [
|
||||
|
||||
Reference in New Issue
Block a user