Compare commits

...

3 Commits

Author SHA1 Message Date
101ae8da40 feat: add more apps 2026-04-28 19:12:14 +02:00
7b5a5b7fbe feat: add some gui apps 2026-04-28 19:07:05 +02:00
7c6acd39ba update: xdg dirs 2026-04-28 18:21:01 +02:00
8 changed files with 158 additions and 27 deletions

60
flake.lock generated
View File

@@ -79,6 +79,27 @@
"type": "github"
}
},
"home-manager_2": {
"inputs": {
"nixpkgs": [
"zen-browser",
"nixpkgs"
]
},
"locked": {
"lastModified": 1776184304,
"narHash": "sha256-No6QGBmIv5ChiwKCcbkxjdEQ/RO2ZS1gD7SFy6EZ7rc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "3c7524c68348ef79ce48308e0978611a050089b2",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"hyprcursor-phinger": {
"inputs": {
"nixpkgs": "nixpkgs"
@@ -113,6 +134,22 @@
"type": "github"
}
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1777077449,
"narHash": "sha256-AIiMJiqvGrN4HyLEbKAoCSRRYn0rnlW5VbKNIMIYqm4=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "a4bf06618f0b5ee50f14ed8f0da77d34ecc19160",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1776877367,
@@ -207,8 +244,10 @@
"home-manager": "home-manager",
"hyprcursor-phinger": "hyprcursor-phinger",
"nixpkgs": "nixpkgs_2",
"nixpkgs-stable": "nixpkgs-stable",
"nixvim": "nixvim",
"wallpapers": "wallpapers",
"zen-browser": "zen-browser",
"zut-calendar": "zut-calendar",
"zutui": "zutui"
}
@@ -284,6 +323,27 @@
"type": "github"
}
},
"zen-browser": {
"inputs": {
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1777356688,
"narHash": "sha256-fOhJpz7QAkBWAAih72CmnIfIN0pHfuZjhZQ/hBLNWxo=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "b3c972b3d8537a9cf7a0db96b164c9c3e580884a",
"type": "github"
},
"original": {
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"type": "github"
}
},
"zut-calendar": {
"inputs": {
"nixpkgs": [

View File

@@ -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 = [

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
programs.bat = {

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
programs.fastfetch = {

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ ... }:
{
programs.zoxide = {

View File

@@ -1,8 +1,20 @@
{ userConfig, lib, ... }:
{
userConfig,
pkgs,
lib,
inputs,
...
}:
{
programs.chromium = {
enable = true;
package = lib.mkIf (!userConfig.isNixOS) null;
};
home.packages = with pkgs; [
inputs.zen-browser.packages."${pkgs.stdenv.hostPlatform.system}".default
tutanota-desktop
brave
];
}

View File

@@ -1,26 +1,65 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
libnotify
cliphist
gh
trash-cli
pandoc
fzf
eza
fastfetch
fd
duf
gdu
jq
tealdeer
grim
slurp
bc
nh
runc
];
pkgs,
pkgs-stable,
lib,
userConfig,
...
}:
let
rstudio-with-packages = pkgs-stable.rstudioWrapper.override {
# we use stable, because unstable is broken rn
packages = with pkgs-stable.rPackages; [
# additional packages for rstudio here
ggplot2
];
};
in
{
home.packages =
with pkgs;
[
# Cli stuff
libnotify
cliphist
gh
trash-cli
pandoc
fzf
eza
fastfetch
fd
duf
gdu
jq
tealdeer
grim
slurp
bc
nh
runc
# Music
spotify
# Gui stuff
homebank
gimp
rstudio-with-packages
# Messaging
vesktop
signal-desktop
]
++ lib.optionals userConfig.gaming [
mangohud
prismlauncher
heroic
# lutris
rpcs3
pcsx2
];
xdg.configFile."containers/containers.conf".text = ''
[engine]

View File

@@ -57,6 +57,7 @@ in
music = null;
pictures = "$HOME/Obrazy";
videos = "$HOME/Video";
projects = "$HOME/Kodowanie";
templates = null;
publicShare = null;
setSessionVariables = true;