feat+refactor: pkgs
added way to choose which package channel to download from
This commit is contained in:
1 parent
973fec46ac
commit
4f5f3322e4
9 files changed
+62
-54
No files matched your search
Generated
+8
-8
@@ -64,16 +64,16 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779506708,
|
||||
"narHash": "sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0=",
|
||||
"lastModified": 1794251182,
|
||||
"narHash": "sha256-R2sZBXiOJo3HAnvTiVkbbHDJy//JMlAwUKEiPbfqPXk=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f",
|
||||
"rev": "6eb2d33d1d0c95a37ef6443c88e6c1686012ee8b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-25.11",
|
||||
"ref": "release-26.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
@@ -128,16 +128,16 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1782847189,
|
||||
"narHash": "sha256-twXPFqFsrrY5r28Zh7Homgcp2gUMBgQ6WDS98Q/3xFI=",
|
||||
"lastModified": 1794552581,
|
||||
"narHash": "sha256-qXFIqA6FCcx7XeDzw0ZNlkDT9UiCzrNDwK8RuU8RcHM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b6018f87da91d19d0ab4cf979885689b469cdd41",
|
||||
"rev": "f1e5c356f35d07e7b71a6b5e6c9338e0b029e0c0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-25.11",
|
||||
"ref": "nixos-26.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
inputs = {
|
||||
# Nixpkgs
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||
# You can access packages and modules from different nixpkgs revs
|
||||
# at the same time. Here's an working example:
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# Also see the 'unstable-packages' overlay at 'overlays/default.nix'.
|
||||
|
||||
# Home manager
|
||||
home-manager.url = "github:nix-community/home-manager/release-25.11";
|
||||
home-manager.url = "github:nix-community/home-manager/release-26.05";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# Utils
|
||||
|
||||
@@ -73,7 +73,6 @@
|
||||
hunspellDicts.en_US
|
||||
obs-studio
|
||||
shotcut
|
||||
qutebrowser #web browser
|
||||
blockbench
|
||||
];
|
||||
|
||||
|
||||
+15
-11
@@ -68,17 +68,21 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# --- General utils ---
|
||||
libreoffice #Microsoft replace
|
||||
libresprite #Pixel art
|
||||
hunspell
|
||||
hunspellDicts.en_US
|
||||
obs-studio
|
||||
shotcut
|
||||
qutebrowser #web browser
|
||||
blockbench
|
||||
];
|
||||
home.packages = (
|
||||
(with pkgs; [
|
||||
# --- General utils ---
|
||||
libreoffice # Microsoft replace
|
||||
hunspell
|
||||
hunspellDicts.en_US
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
# --- Creative utils ---
|
||||
obs-studio
|
||||
shotcut
|
||||
blockbench
|
||||
libresprite # Pixel art
|
||||
])
|
||||
);
|
||||
|
||||
home = {
|
||||
username = username;
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.qutebrowser = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
@@ -7,12 +7,17 @@
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
# --- CLI utils ---
|
||||
wl-clipboard
|
||||
clipse
|
||||
timg
|
||||
];
|
||||
home.packages = (
|
||||
(with pkgs; [
|
||||
# --- Core Wayland plumbing (Stable 26.05) ---
|
||||
wl-clipboard
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
# --- Fast-moving CLI utils (Unstable) ---
|
||||
clipse
|
||||
timg
|
||||
])
|
||||
);
|
||||
# --- Shell environment ---
|
||||
programs.direnv.enable = true;
|
||||
home.shellAliases = {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
programs.yazi = {
|
||||
shellWrapperName = "y";
|
||||
enable = true;
|
||||
|
||||
flavors = {
|
||||
|
||||
@@ -17,15 +17,23 @@
|
||||
|
||||
services.blueman.enable = true; #bluetooth
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# -- Niri extras --
|
||||
xwayland-satellite
|
||||
fuzzel
|
||||
waybar
|
||||
brightnessctl
|
||||
playerctl
|
||||
swaylock
|
||||
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
||||
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
environment.systemPackages = (
|
||||
(with pkgs; [
|
||||
# -- Stable system utilities --
|
||||
brightnessctl
|
||||
playerctl
|
||||
swaylock
|
||||
])
|
||||
++ (with pkgs.unstablePkgs; [
|
||||
# -- Fast-moving Wayland tools --
|
||||
xwayland-satellite
|
||||
fuzzel
|
||||
waybar
|
||||
])
|
||||
++ [
|
||||
# -- External flake inputs --
|
||||
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
||||
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
]
|
||||
);
|
||||
}
|
||||
@@ -29,12 +29,12 @@ in
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
systemd.sleep.extraConfig = ''
|
||||
AllowSuspend=no
|
||||
AllowHibernation=no
|
||||
AllowHybridSleep=no
|
||||
AllowSuspendThenHibernate=no
|
||||
'';
|
||||
systemd.sleep.settings.Sleep = {
|
||||
AllowSuspend = "no";
|
||||
AllowHibernation = "no";
|
||||
AllowHybridSleep = "no";
|
||||
AllowSuspendThenHibernate = "no";
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /home/shared 0777 root root -"
|
||||
|
||||
Reference in new issue
Block a user