Compare commits
2 commits
97072971c1
...
4e3b12a995
| Author | SHA1 | Date | |
|---|---|---|---|
|
4e3b12a995 |
|||
|
e770bf9a6d |
10 changed files with 158 additions and 109 deletions
24
flake.lock
generated
24
flake.lock
generated
|
|
@ -8,16 +8,16 @@
|
|||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1773709057,
|
||||
"narHash": "sha256-hLt6CDHEPV8BVpOADVn4bLNcBz89eC2jKtIexHG0yAY=",
|
||||
"lastModified": 1778629013,
|
||||
"narHash": "sha256-XrJFetPs7TsbX5Cxekj+h3hlmQLoOpB7U+c36NM/jeA=",
|
||||
"owner": "atuinsh",
|
||||
"repo": "atuin",
|
||||
"rev": "e737ba5b9a149eaec706418bc560e8ba7ea8c81b",
|
||||
"rev": "671f96b60dac49d1d2de73cc0812986a5e22ce7b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "atuinsh",
|
||||
"ref": "v18.13.3",
|
||||
"ref": "v18.16.1",
|
||||
"repo": "atuin",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -85,16 +85,16 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775077333,
|
||||
"narHash": "sha256-OXcxobt7lBkh1B8AjwreU+24myhtKpqeLfAeIyNLFY8=",
|
||||
"lastModified": 1781124985,
|
||||
"narHash": "sha256-hIaUkf6qalGk2xxNEkBMP2m2aPBq+qXvUPOIwwEDySI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "49ca96b2714c5931e17401eff87f3edd42d2b0f2",
|
||||
"rev": "d899b01766784bcc9a141ee13bad6dc689d47c37",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"ref": "release-25.11",
|
||||
"ref": "release-26.05",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
@ -133,16 +133,16 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1775002709,
|
||||
"narHash": "sha256-d3Yx83vSrN+2z/loBh4mJpyRqr9aAJqlke4TkpFmRJA=",
|
||||
"lastModified": 1780902259,
|
||||
"narHash": "sha256-q8yYEC5f1mFlQO9RGna4LTc9QrcvWunX6FYp83munkQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "bcd464ccd2a1a7cd09aa2f8d4ffba83b761b1d0e",
|
||||
"rev": "bd0ff2d3eac24699c3664d5966b9ef36f388e2ca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"ref": "nixos-26.05",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,15 +2,15 @@
|
|||
description = "NixOS flake";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
|
||||
systems.url = "github:nix-systems/default-linux";
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.7.0";
|
||||
opencode.url = "github:GutMutCode/opencode-nix/";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-25.11";
|
||||
url = "github:nix-community/home-manager/release-26.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
atuin.url = "github:atuinsh/atuin/v18.13.3";
|
||||
atuin.url = "github:atuinsh/atuin/v18.16.1";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nix-flatpak, systems, home-manager, opencode, ... } @ inputs: let
|
||||
|
|
|
|||
|
|
@ -10,7 +10,27 @@
|
|||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
initrd.luks.devices."luks-7565ba12-2da3-4933-adec-8d62e81afe52".device = "/dev/disk/by-uuid/7565ba12-2da3-4933-adec-8d62e81afe52";
|
||||
initrd.luks = {
|
||||
devices."luks-7565ba12-2da3-4933-adec-8d62e81afe52".device = "/dev/disk/by-uuid/7565ba12-2da3-4933-adec-8d62e81afe52";
|
||||
cryptoModules = [
|
||||
"aes"
|
||||
# "aes_generic"
|
||||
"blowfish"
|
||||
"twofish"
|
||||
"serpent"
|
||||
"cbc"
|
||||
"xts"
|
||||
"lrw"
|
||||
"sha1"
|
||||
"sha256"
|
||||
"sha512"
|
||||
"af_alg"
|
||||
"algif_skcipher"
|
||||
"cryptd"
|
||||
"input_leds"
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
nix = {
|
||||
|
|
@ -38,6 +58,7 @@
|
|||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
jack.enable = true;
|
||||
};
|
||||
udev.packages = with pkgs; [ gnome-settings-daemon ];
|
||||
sysprof.enable = true;
|
||||
|
|
@ -61,6 +82,7 @@
|
|||
appimage.enable = true;
|
||||
appimage.binfmt = true;
|
||||
dconf.enable = true;
|
||||
gamemode.enable = true;
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
|
|
@ -137,15 +159,33 @@
|
|||
};
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config ={
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"docker-28.5.2"
|
||||
];
|
||||
};
|
||||
environment = {
|
||||
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
systemPackages = import ./packages.nix pkgs;
|
||||
sessionVariables = {
|
||||
GST_PLUGIN_SYSTEM_PATH_1_0 = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
|
||||
pkgs.gst_all_1.gst-plugins-good
|
||||
pkgs.gst_all_1.gst-plugins-bad
|
||||
pkgs.gst_all_1.gst-plugins-ugly
|
||||
];
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
systemPackages = with pkgs; (
|
||||
import ./packages/system.nix pkgs
|
||||
++ import ./packages/cli.nix pkgs
|
||||
++ import ./packages/gui.nix pkgs
|
||||
++ import ./packages/rice.nix pkgs
|
||||
++ import ./packages/pandora.nix pkgs
|
||||
);
|
||||
loginShellInit = ''
|
||||
[[ "$(tty)" = "/dev/tty1" ]] && ~/.dotfiles/conf.d/utils/gs.sh
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
[
|
||||
"com.microsoft.Edge"
|
||||
"dev.vencord.Vesktop"
|
||||
"chat.revolt.RevoltDesktop"
|
||||
"io.github.hkdb.Aerion"
|
||||
"io.github.mpobaschnig.Vaults"
|
||||
"com.bitwarden.desktop"
|
||||
"com.google.Chrome"
|
||||
|
|
@ -17,5 +13,8 @@
|
|||
"com.obsproject.Studio"
|
||||
"org.kde.kdenlive"
|
||||
"com.vysp3r.ProtonPlus"
|
||||
"com.github.IsmaelMartinez.teams_for_linux"
|
||||
"io.github.Foldex.AdwSteamGtk"
|
||||
"io.github.seadve.Kooha"
|
||||
"org.equicord.equibop"
|
||||
"com.discordapp.Discord"
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,84 +0,0 @@
|
|||
pkgs: with pkgs; [
|
||||
bat
|
||||
git
|
||||
neovim
|
||||
jetbrains-toolbox
|
||||
coder
|
||||
kitty
|
||||
steam
|
||||
steam-run
|
||||
mpv
|
||||
gnumake
|
||||
kubernetes-helm
|
||||
opentofu
|
||||
kubeseal
|
||||
openssl
|
||||
xclip
|
||||
resticprofile
|
||||
gnupg
|
||||
awscli2
|
||||
kor
|
||||
exiftool
|
||||
gnome-themes-extra
|
||||
hmcl
|
||||
vlc
|
||||
unrar-wrapper
|
||||
atkinson-hyperlegible
|
||||
libreoffice-qt
|
||||
hunspell
|
||||
hunspellDicts.es_ES
|
||||
hunspellDicts.en_US
|
||||
sqlite-interactive
|
||||
ffmpeg
|
||||
lrcget
|
||||
yq
|
||||
p7zip
|
||||
ansible
|
||||
k3sup
|
||||
gamemode
|
||||
lm_sensors
|
||||
appimage-run
|
||||
xcolor
|
||||
samrewritten
|
||||
protontricks
|
||||
nmap
|
||||
terragrunt
|
||||
adwaita-icon-theme
|
||||
ayugram-desktop
|
||||
restic
|
||||
pre-commit
|
||||
cargo
|
||||
inconsolata
|
||||
k9s
|
||||
kubectl
|
||||
dotter
|
||||
kubecolor
|
||||
trash-cli
|
||||
gnomeExtensions.appindicator
|
||||
bruno
|
||||
devenv
|
||||
vim
|
||||
direnv
|
||||
marble-shell-theme
|
||||
colloid-gtk-theme
|
||||
colloid-icon-theme
|
||||
sysprof
|
||||
steam-run
|
||||
streamlink
|
||||
twitch-chat-downloader
|
||||
jq
|
||||
hmcl
|
||||
tmux
|
||||
atuin
|
||||
tor
|
||||
tor-browser
|
||||
remmina
|
||||
yt-dlp
|
||||
mangohud
|
||||
difftastic
|
||||
libheif
|
||||
ffmpegthumbnailer
|
||||
signal-desktop
|
||||
tflint
|
||||
kubeconform
|
||||
]
|
||||
53
hosts/limgrave/nixos/packages/cli.nix
Normal file
53
hosts/limgrave/nixos/packages/cli.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
pkgs: with pkgs; [
|
||||
kubectl
|
||||
k9s
|
||||
kubecolor
|
||||
kubeseal
|
||||
kubeconform
|
||||
kubernetes-helm
|
||||
k3sup
|
||||
|
||||
opentofu
|
||||
tflint
|
||||
terragrunt
|
||||
ansible
|
||||
pulumi
|
||||
awscli2
|
||||
yq
|
||||
|
||||
git
|
||||
neovim
|
||||
vim
|
||||
bat
|
||||
jq
|
||||
tmux
|
||||
direnv
|
||||
cargo
|
||||
python3
|
||||
poetry
|
||||
pre-commit
|
||||
shellcheck
|
||||
atuin
|
||||
dotter
|
||||
restic
|
||||
kor
|
||||
devenv
|
||||
|
||||
yt-dlp
|
||||
streamlink
|
||||
lrcget
|
||||
exiftool
|
||||
hunspell
|
||||
hunspellDicts.es_ES
|
||||
hunspellDicts.en_US
|
||||
|
||||
xclip
|
||||
unrar-wrapper
|
||||
p7zip
|
||||
xcolor
|
||||
trash-cli
|
||||
|
||||
steam-run
|
||||
protontricks
|
||||
mangohud
|
||||
]
|
||||
14
hosts/limgrave/nixos/packages/gui.nix
Normal file
14
hosts/limgrave/nixos/packages/gui.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pkgs: with pkgs; [
|
||||
steam
|
||||
mpv
|
||||
vlc
|
||||
jetbrains-toolbox
|
||||
coder
|
||||
kitty
|
||||
libreoffice-qt
|
||||
signal-desktop
|
||||
remmina
|
||||
ayugram-desktop
|
||||
tor-browser
|
||||
samrewritten
|
||||
]
|
||||
3
hosts/limgrave/nixos/packages/pandora.nix
Normal file
3
hosts/limgrave/nixos/packages/pandora.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
pkgs: with pkgs; [
|
||||
difftastic
|
||||
]
|
||||
10
hosts/limgrave/nixos/packages/rice.nix
Normal file
10
hosts/limgrave/nixos/packages/rice.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
pkgs: with pkgs; [
|
||||
gnome-themes-extra
|
||||
adwaita-icon-theme
|
||||
atkinson-hyperlegible
|
||||
inconsolata
|
||||
marble-shell-theme
|
||||
colloid-gtk-theme
|
||||
colloid-icon-theme
|
||||
gnomeExtensions.appindicator
|
||||
]
|
||||
14
hosts/limgrave/nixos/packages/system.nix
Normal file
14
hosts/limgrave/nixos/packages/system.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pkgs: with pkgs; [
|
||||
openssl
|
||||
gnupg
|
||||
sqlite-interactive
|
||||
ffmpeg
|
||||
lm_sensors
|
||||
nmap
|
||||
gnumake
|
||||
gamemode
|
||||
libheif
|
||||
ffmpegthumbnailer
|
||||
appimage-run
|
||||
sysprof
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue