update
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +0,0 @@
|
|||||||
flake.lock
|
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
# Optimization
|
# Optimization
|
||||||
nix = {
|
nix = {
|
||||||
|
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
@@ -29,7 +30,17 @@
|
|||||||
automatic = true;
|
automatic = true;
|
||||||
dates = [ "weekly" ];
|
dates = [ "weekly" ];
|
||||||
};
|
};
|
||||||
settings.experimental-features = [ "nix-command" "flakes"];
|
settings = {
|
||||||
|
experimental-features = [ "nix-command" "flakes"];
|
||||||
|
substituters = [
|
||||||
|
"https://cache.nixos.org"
|
||||||
|
"https://attic.xuyh0120.win/lantian" # xddxdd's cache
|
||||||
|
];
|
||||||
|
trusted-public-keys = [
|
||||||
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
|
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
@@ -45,7 +56,7 @@
|
|||||||
"udev.log_level=3"
|
"udev.log_level=3"
|
||||||
"systemd.show_status=auto"
|
"systemd.show_status=auto"
|
||||||
];
|
];
|
||||||
kernelPackages = pkgs.linuxPackages_zen;
|
kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest; #pkgs.linuxPackages_zen;
|
||||||
plymouth = {
|
plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "lone";
|
theme = "lone";
|
||||||
@@ -57,6 +68,10 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
# Binary cache
|
||||||
|
|
||||||
|
|
||||||
# Enable "Silent boot"
|
# Enable "Silent boot"
|
||||||
#consoleLogLevel = 3;
|
#consoleLogLevel = 3;
|
||||||
#initrd.verbose = false;
|
#initrd.verbose = false;
|
||||||
@@ -72,7 +87,7 @@
|
|||||||
hostName = "peceli";
|
hostName = "peceli";
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
firewall.allowedTCPPorts = [ 9943 9944 22000 53317 ];
|
firewall.allowedTCPPorts = [ 9943 9944 22000 53317 25565 ];
|
||||||
firewall.allowedUDPPorts = [ 9943 9944 53317 ];
|
firewall.allowedUDPPorts = [ 9943 9944 53317 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -94,12 +109,11 @@
|
|||||||
#User config
|
#User config
|
||||||
users = {
|
users = {
|
||||||
defaultUserShell = pkgs.zsh;
|
defaultUserShell = pkgs.zsh;
|
||||||
groups.wireshark.gid = 500;
|
|
||||||
users = {
|
users = {
|
||||||
robin = {
|
robin = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "robin";
|
description = "robin";
|
||||||
extraGroups = [ "audio" "wireshark" "libvirtd" "networkmanager" "wheel" "docker"];
|
extraGroups = [ "audio" "libvirtd" "networkmanager" "wheel" "docker" "gamemode"];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
flatpak
|
flatpak
|
||||||
];
|
];
|
||||||
@@ -134,7 +148,6 @@
|
|||||||
|
|
||||||
#Programs
|
#Programs
|
||||||
programs = {
|
programs = {
|
||||||
wireshark.enable = true;
|
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
noisetorch.enable = true;
|
noisetorch.enable = true;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
rofi
|
rofi
|
||||||
hyprcursor
|
hyprcursor
|
||||||
swww
|
awww
|
||||||
hyprland
|
hyprland
|
||||||
hyprlock
|
hyprlock
|
||||||
hyprsunset
|
hyprsunset
|
||||||
@@ -10,6 +10,6 @@
|
|||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
withUWSM = true; # recommended for most users
|
withUWSM = true; # recommended for most users
|
||||||
#xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
3
custom/mango.nix
Normal file
3
custom/mango.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{ config, pkgs, ... }:{
|
||||||
|
programs.mangowc.enable = true;
|
||||||
|
}
|
||||||
@@ -15,7 +15,6 @@
|
|||||||
zsh
|
zsh
|
||||||
stow
|
stow
|
||||||
git
|
git
|
||||||
firefox
|
|
||||||
kanata
|
kanata
|
||||||
bat
|
bat
|
||||||
kdePackages.kdeconnect-kde
|
kdePackages.kdeconnect-kde
|
||||||
@@ -50,7 +49,7 @@
|
|||||||
noisetorch
|
noisetorch
|
||||||
signal-desktop
|
signal-desktop
|
||||||
element-desktop
|
element-desktop
|
||||||
revolt-desktop
|
stoat-desktop
|
||||||
localsend
|
localsend
|
||||||
mpd
|
mpd
|
||||||
ghostty
|
ghostty
|
||||||
@@ -88,15 +87,12 @@
|
|||||||
home-manager
|
home-manager
|
||||||
iperf3
|
iperf3
|
||||||
vesktop
|
vesktop
|
||||||
lutris
|
|
||||||
btop-rocm
|
btop-rocm
|
||||||
lm_sensors
|
lm_sensors
|
||||||
pipes
|
pipes
|
||||||
cbonsai
|
cbonsai
|
||||||
inkscape
|
inkscape
|
||||||
asciiquarium-transparent
|
asciiquarium-transparent
|
||||||
wireshark
|
|
||||||
termshark
|
|
||||||
monero-gui
|
monero-gui
|
||||||
rmpc
|
rmpc
|
||||||
yt-dlp
|
yt-dlp
|
||||||
@@ -105,22 +101,16 @@
|
|||||||
croc
|
croc
|
||||||
spotdl
|
spotdl
|
||||||
supertuxkart
|
supertuxkart
|
||||||
testdisk
|
|
||||||
testdisk-qt
|
|
||||||
htop
|
htop
|
||||||
ungoogled-chromium
|
ungoogled-chromium
|
||||||
syncthing
|
syncthing
|
||||||
samba
|
samba
|
||||||
sssnake
|
sssnake
|
||||||
droidcam
|
|
||||||
obs-studio-plugins.droidcam-obs
|
|
||||||
nitch
|
|
||||||
tomb
|
tomb
|
||||||
wine
|
wine
|
||||||
linux-wallpaperengine
|
linux-wallpaperengine
|
||||||
fusee-nano
|
fusee-nano
|
||||||
ppsspp
|
ppsspp
|
||||||
alvr
|
|
||||||
lact
|
lact
|
||||||
librewolf
|
librewolf
|
||||||
nvtopPackages.amd
|
nvtopPackages.amd
|
||||||
@@ -131,5 +121,13 @@
|
|||||||
spotify
|
spotify
|
||||||
ryubing
|
ryubing
|
||||||
termdown
|
termdown
|
||||||
|
mumble
|
||||||
|
cinny-desktop
|
||||||
|
cargo
|
||||||
|
lua
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
"electron-38.8.4"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,8 @@ services = {
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.openrgb-with-all-plugins;
|
package = pkgs.openrgb-with-all-plugins;
|
||||||
motherboard = "amd";
|
motherboard = "amd";
|
||||||
startupProfile = "meow";
|
startupProfile = "none";
|
||||||
|
server.port = 6742;
|
||||||
};
|
};
|
||||||
sunshine = {
|
sunshine = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
261
flake.lock
generated
Normal file
261
flake.lock
generated
Normal file
@@ -0,0 +1,261 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"cachyos-kernel": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1779959490,
|
||||||
|
"narHash": "sha256-FS/SbuYuRt5biCp1ja0Se12V2q3Y3p+O+rAdFQvuJT4=",
|
||||||
|
"owner": "CachyOS",
|
||||||
|
"repo": "linux-cachyos",
|
||||||
|
"rev": "1d38a1c83db0cddff4963516eb3f6838981cb6ae",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "CachyOS",
|
||||||
|
"repo": "linux-cachyos",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"cachyos-kernel-patches": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1779996637,
|
||||||
|
"narHash": "sha256-DcA59mHfCUfbr7EtH9YJUb3t62TcyXwC/I0QMyUs1bo=",
|
||||||
|
"owner": "CachyOS",
|
||||||
|
"repo": "kernel-patches",
|
||||||
|
"rev": "b87558b7c865628c48c1d6ff5c827b9df40e9281",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "CachyOS",
|
||||||
|
"repo": "kernel-patches",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"catppuccin": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780394337,
|
||||||
|
"narHash": "sha256-qsiTng/LjFuxN5SNKIKhUWqFFbpvdpnYqRj2F7inK3k=",
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"rev": "9f015db982efc83ae1eb0074960e812ee386f3bb",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "catppuccin",
|
||||||
|
"repo": "nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-compat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767039857,
|
||||||
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1778716662,
|
||||||
|
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780408569,
|
||||||
|
"narHash": "sha256-s7Tv6FUQThRAvW8En8XVC6HMb0uiikzVccCcCo9u/Bg=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "f384af1bec6423a0d4ba1855917ab948f64e5808",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"zen-browser",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780099287,
|
||||||
|
"narHash": "sha256-efIPwVGtIWIjWcznhaop6XN6HxnOL8800hF6CBNvlqQ=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "7d8127d308c3fb9664f7e643eec944be74ebb37d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nix-cachyos-kernel": {
|
||||||
|
"inputs": {
|
||||||
|
"cachyos-kernel": "cachyos-kernel",
|
||||||
|
"cachyos-kernel-patches": "cachyos-kernel-patches",
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780253365,
|
||||||
|
"narHash": "sha256-wcJ+6+Z+mfzBjClI0XsjOoGSW6o1RldVj6UETLzK+GQ=",
|
||||||
|
"owner": "xddxdd",
|
||||||
|
"repo": "nix-cachyos-kernel",
|
||||||
|
"rev": "236462fb93cb56e26e6a6801ba5edb6dad66be0d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "xddxdd",
|
||||||
|
"ref": "release",
|
||||||
|
"repo": "nix-cachyos-kernel",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780246643,
|
||||||
|
"narHash": "sha256-JZXtt4Ax1FiEArbgzhLRQ7xrNZQdHIrty5XSwOoXrm8=",
|
||||||
|
"rev": "3109eaae18e09d0b8aef23dc2579e7d94b8d4b4e",
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://releases.nixos.org/nixpkgs/nixpkgs-26.11pre1008286.3109eaae18e0/nixexprs.tar.xz"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-lib": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777168982,
|
||||||
|
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1779796641,
|
||||||
|
"narHash": "sha256-ZsIrKmhp4vbBXoXXmR/tBXA/UCsAQiJL9vsgZEduhVY=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "25f538306313eae3927264466c70d7001dcea1df",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780206209,
|
||||||
|
"narHash": "sha256-33WNQ5sssy+8+xhUz953aEnjR1Oh828j0DgLU1TfMqE=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "45cf63e030188dd38532669b2450182bfc2d4653",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable-small",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780243769,
|
||||||
|
"narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "331800de5053fcebacf6813adb5db9c9dca22a0c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"catppuccin": "catppuccin",
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
||||||
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
|
"zen-browser": "zen-browser"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"zen-browser": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1780372976,
|
||||||
|
"narHash": "sha256-7B90rWlpRZ6bZtRDCKZOqqfAjFFhiTDHXymWw2omhJ4=",
|
||||||
|
"owner": "0xc000022070",
|
||||||
|
"repo": "zen-browser-flake",
|
||||||
|
"rev": "decef750607ebed4f8ccd9cd6169907367ab08b1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "0xc000022070",
|
||||||
|
"repo": "zen-browser-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
12
flake.nix
12
flake.nix
@@ -14,13 +14,10 @@
|
|||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
quickshell = {
|
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
||||||
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, nixpkgs-stable, home-manager, zen-browser, catppuccin, quickshell, ... }:
|
outputs = { nixpkgs, nixpkgs-stable, home-manager, zen-browser, catppuccin, nix-cachyos-kernel, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
@@ -38,7 +35,10 @@
|
|||||||
({pkgs, ...}: {
|
({pkgs, ...}: {
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
zen-browser.packages.${system}.default
|
zen-browser.packages.${system}.default
|
||||||
quickshell.packages.${system}.default
|
];
|
||||||
|
nixpkgs.overlays = [
|
||||||
|
nix-cachyos-kernel.overlays.default
|
||||||
|
nix-cachyos-kernel.overlays.pinned
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|||||||
Reference in New Issue
Block a user