Compare commits

...

14 Commits

Author SHA1 Message Date
7400536189 flake.lock: Update
Flake lock file updates:

• Updated input 'clion-flake':
    'path:./common/flakes/clion-flake'
  → 'path:./common/flakes/clion-flake'
• Updated input 'clion-flake/nixpkgs':
    'github:NixOS/nixpkgs/46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9?narHash=sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc%3D' (2026-03-24)
  → 'github:NixOS/nixpkgs/8110df5ad7abf5d4c0f6fb0f8f978390e77f9685?narHash=sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg%3D' (2026-03-28)
• Updated input 'czkawka-master':
    'path:./common/flakes/czkawka-master'
  → 'path:./common/flakes/czkawka-master'
• Updated input 'czkawka-master/nixpkgs':
    'github:NixOS/nixpkgs/46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9?narHash=sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc%3D' (2026-03-24)
  → 'github:NixOS/nixpkgs/8110df5ad7abf5d4c0f6fb0f8f978390e77f9685?narHash=sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg%3D' (2026-03-28)
• Updated input 'fet':
    'path:./common/flakes/fet'
  → 'path:./common/flakes/fet'
• Updated input 'fet/nixpkgs':
    'github:NixOS/nixpkgs/46db2e09e1d3f113a13c0d7b81e2f221c63b8ce9?narHash=sha256-4hAV26quOxdC6iyG7kYaZcM3VOskcPUrdCQd/nx8obc%3D' (2026-03-24)
  → 'github:NixOS/nixpkgs/8110df5ad7abf5d4c0f6fb0f8f978390e77f9685?narHash=sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg%3D' (2026-03-28)
• Updated input 'home-manager':
    'github:nix-community/home-manager/769e07ef8f4cf7b1ec3b96ef015abec9bc6b1e2a?narHash=sha256-2jfBEZUC67IlnxO5KItFCAd7Oc%2B1TvyV/jQlR%2B2ykGQ%3D' (2026-03-28)
  → 'github:nix-community/home-manager/9340f51314713c83360bf72d75c8b404778ab5b1?narHash=sha256-PzqwM4njoB3aznqwPZUawD4uOcJeu7N6GBTJKg81EQ4%3D' (2026-03-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a24d4f88646994587e1859e70ba5936be1d1edda?narHash=sha256-cyiTzi1tQeXX0wVBmdK/3iAAQt5IRqTwLLLLk6Xezwk%3D' (2026-03-29)
  → 'github:NixOS/nixpkgs/b584523193e892d7261a7fe6520fb6021896cac1?narHash=sha256-w0CBrn0GMqc6DAskum9LoJN1ur9irneL3P6ZZeXXQug%3D' (2026-03-30)
2026-03-30 20:02:25 +02:00
dc832ad060 flake.lock: Update
Flake lock file updates:

• Updated input 'clion-flake':
    'path:./common/flakes/clion-flake'
  → 'path:./common/flakes/clion-flake'
• Updated input 'czkawka-master':
    'path:./common/flakes/czkawka-master'
  → 'path:./common/flakes/czkawka-master'
• Updated input 'fet':
    'path:./common/flakes/fet'
  → 'path:./common/flakes/fet'
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ae0d4899645937e7b845d9ca3f1607d27a3911e7?narHash=sha256-0dh1K2mxKZPvQ8Zxb72qvw5Qv72tRaxZbGJ%2BznZZfN0%3D' (2026-03-29)
  → 'github:NixOS/nixpkgs/a24d4f88646994587e1859e70ba5936be1d1edda?narHash=sha256-cyiTzi1tQeXX0wVBmdK/3iAAQt5IRqTwLLLLk6Xezwk%3D' (2026-03-29)
2026-03-29 21:16:23 +02:00
faa6683948 flake.lock: Update
Flake lock file updates:

• Updated input 'clion-flake':
    'path:./common/flakes/clion-flake'
  → 'path:./common/flakes/clion-flake'
• Updated input 'czkawka-master':
    'path:./common/flakes/czkawka-master'
  → 'path:./common/flakes/czkawka-master'
• Updated input 'fet':
    'path:./common/flakes/fet'
  → 'path:./common/flakes/fet'
• Updated input 'home-manager':
    'github:nix-community/home-manager/9df3a639007cfe0d074433f7fc225ea94f877d08?narHash=sha256-1WelwA45Xm4glTG8R9IX9jYeFKDG2HbR79jAauLezUE%3D' (2026-03-27)
  → 'github:nix-community/home-manager/769e07ef8f4cf7b1ec3b96ef015abec9bc6b1e2a?narHash=sha256-2jfBEZUC67IlnxO5KItFCAd7Oc%2B1TvyV/jQlR%2B2ykGQ%3D' (2026-03-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b55b0e0c856ac73c7f507336780f97aa7a9746e2?narHash=sha256-%2BuVDNwxihd82I6aZTgNvIXqFyLcfUBkg/Y0A8UBgycg%3D' (2026-03-27)
  → 'github:NixOS/nixpkgs/ae0d4899645937e7b845d9ca3f1607d27a3911e7?narHash=sha256-0dh1K2mxKZPvQ8Zxb72qvw5Qv72tRaxZbGJ%2BznZZfN0%3D' (2026-03-29)
2026-03-29 20:58:52 +02:00
841c3b2fbd Lower attic push jobs
server be fragile
2026-03-27 21:58:05 +01:00
a3cccd8751 Add flake for newer clion 2026-03-27 21:57:52 +01:00
d9478157fb Update cache key
- due to cache reset
- add job number to push
2026-03-27 20:45:33 +01:00
599be0b0e5 Actually add /etc/nix as well 2026-03-27 19:32:51 +01:00
0a07190179 Add a service to automatically fetch devshells 2026-03-27 19:26:56 +01:00
401490f581 Add kmscon 2026-03-26 19:29:57 +01:00
0c59ee08ef Update lockfile 2026-03-25 01:38:02 +01:00
5b71825d70 packages.nix: add Blueman 2026-03-24 18:08:11 +01:00
4959baf11c Update FET to 7.8.1 2026-03-23 21:27:56 +01:00
b1eb8d16fc extensions: dash-to-dock:
- enable autohide-in-fullscreen
2026-03-23 21:24:49 +01:00
a4c34f9857 Reformat with alejandra 2026-03-23 21:24:20 +01:00
52 changed files with 348 additions and 276 deletions

View File

@@ -12,8 +12,8 @@ build-laptop:
nix build .#nixosConfigurations.dalaptop.config.system.build.toplevel --log-format internal-json |& nom --json
upload:
attic push my-config result
attic push my-config /run/current-system
attic push my-config result -j2
attic push my-config /run/current-system -j2
clean:
rm -rf result
@@ -23,7 +23,7 @@ format:
treefmt .
switch:
nh os switch
nh os switch --refresh
switch_update:
nh os switch --refresh --update

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
imports = [
./modules
./hardware-configuration.nix
@@ -17,6 +16,7 @@
efi.canTouchEfiVariables = true;
systemd-boot = {
enable = true;
memtest86.enable = true;
};
};
@@ -53,7 +53,10 @@
};
};
console.keyMap = "cz-lat2";
console = {
keyMap = "cz-lat2";
font = "LatArCyrHeb-16";
};
xdg.portal.enable = true;
@@ -118,21 +121,23 @@
LIBVIRT_DEFAULT_URI = "qemu:///system";
};
systemPackages = [
pkgs.libheif
pkgs.libheif.out
systemPackages = with pkgs; [
libheif
libheif.out
];
pathsToLink = [ "share/thumbnailers" ];
pathsToLink = ["share/thumbnailers"];
};
hardware = {
bluetooth = {
enable = true;
package = pkgs.bluez.overrideAttrs (old: {
configureFlags = old.configureFlags ++ [
"--enable-sixaxis"
];
configureFlags =
old.configureFlags
++ [
"--enable-sixaxis"
];
});
powerOnBoot = true;

View File

@@ -0,0 +1,30 @@
{
description = "Latest CLion from JetBrains";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
permittedInsecurePackages = [
"openssl-1.1.1w"
];
};
};
in {
packages.${system}.default = pkgs.jetbrains.clion.overrideAttrs (oldAttrs: rec {
version = "2026.1";
src = pkgs.fetchurl {
url = "https://download-cdn.jetbrains.com/cpp/CLion-${version}.tar.gz";
hash = "sha256-r5flY2u6aCkI8q7ZcGWYLLxxcWWp3gtTkdBdKoacIB0=";
};
buildInputs = oldAttrs.buildInputs ++ [pkgs.openssl_1_1];
});
};
}

View File

@@ -14,72 +14,68 @@
};
};
outputs =
{
self,
nixpkgs,
czkawka-src,
naersk,
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
naersk-lib = pkgs.callPackage naersk { };
outputs = {
self,
nixpkgs,
czkawka-src,
naersk,
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {inherit system;};
naersk-lib = pkgs.callPackage naersk {};
nativeBuildInputs = with pkgs; [
cargo
cmake
makeWrapper
pkg-config
rustc
];
nativeBuildInputs = with pkgs; [
cargo
cmake
makeWrapper
pkg-config
rustc
];
runtimeLibs = with pkgs; [
fontconfig
libglvnd
libX11
libXcursor
libXi
libxkbcommon
libXrandr
wayland
];
in
{
packages.${system}.default = naersk-lib.buildPackage {
pname = "krokiet";
version = "master";
src = czkawka-src;
runtimeLibs = with pkgs; [
fontconfig
libglvnd
libX11
libXcursor
libXi
libxkbcommon
libXrandr
wayland
];
in {
packages.${system}.default = naersk-lib.buildPackage {
pname = "krokiet";
version = "master";
src = czkawka-src;
nativeBuildInputs = nativeBuildInputs;
buildInputs = runtimeLibs;
nativeBuildInputs = nativeBuildInputs;
buildInputs = runtimeLibs;
cargoBuildOptions =
x:
x
++ [
"-p"
"krokiet"
];
buildAndCheckFeatures = [
"winit_wayland"
"winit_x11"
cargoBuildOptions = x:
x
++ [
"-p"
"krokiet"
];
RUSTFLAGS = "-C target-cpu=native";
NIX_CFLAGS_COMPILE = "-march=native -mtune=native";
buildAndCheckFeatures = [
"winit_wayland"
"winit_x11"
];
postInstall = ''
wrapProgram $out/bin/krokiet \
--prefix LD_LIBRARY_PATH : ${pkgs.lib.makeLibraryPath runtimeLibs}
RUSTFLAGS = "-C target-cpu=native";
NIX_CFLAGS_COMPILE = "-march=native -mtune=native";
install -Dm444 -t $out/share/applications data/io.github.qarmin.krokiet.desktop
postInstall = ''
wrapProgram $out/bin/krokiet \
--prefix LD_LIBRARY_PATH : ${pkgs.lib.makeLibraryPath runtimeLibs}
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/io.github.qarmin.krokiet.svg \
install -Dm444 -t $out/share/applications data/io.github.qarmin.krokiet.desktop
install -Dm444 -t $out/share/metainfo data/io.github.qarmin.krokiet.metainfo.xml
'';
};
install -Dm444 -t $out/share/icons/hicolor/scalable/apps data/icons/io.github.qarmin.krokiet.svg \
install -Dm444 -t $out/share/metainfo data/io.github.qarmin.krokiet.metainfo.xml
'';
};
};
}

View File

@@ -6,25 +6,22 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{
self,
nixpkgs,
flake-utils,
}:
outputs = {
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
system: let
pkgs = nixpkgs.legacyPackages.${system};
in
{
in {
packages.default = pkgs.stdenv.mkDerivation rec {
pname = "fet";
version = "7.8.0";
version = "7.8.1";
src = pkgs.fetchurl {
url = "https://lalescu.ro/liviu/fet/download/fet-${version}.tar.xz";
sha256 = "01hr3digrg2qs5wh10qzpgwi4clqmzd46d099r0yrx3278qvz9wj";
sha256 = "0b0g20mgawpv6pp6b1vh0vhz6rr0193g2irqiclnxxlnf174bcfr";
};
enableParallelBuilding = true;

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
boot = {
kernelPackages = pkgs.linuxKernel.packages.linux_xanmod_latest;

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
nix.settings = {
substituters = [
"https://attic.awroo.fun/my-config"
@@ -7,7 +6,7 @@
];
trusted-public-keys = [
"my-config:51aC90S8+3+gS/UzwdnL7a7lu1NnY896SZp5njMwFDk="
"my-config:hK+qaX2TdSrf/sp8LjKq9VF9XU0qGksoQCdgVXfgWoQ="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
];

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./attic.nix
./flatpak.nix

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
services.flatpak = {
enable = true;
update.auto.enable = true;

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment = {
gnome.excludePackages = with pkgs; [
decibels

View File

@@ -1,9 +1,8 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
"org/gnome/Console" = {

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./apps.nix
./extensions.nix

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/gnome/shell/extensions/user-theme" = {
name = "Flat-Remix-Darkest-fullPanel";
@@ -29,7 +28,7 @@
"org/gnome/shell/extensions/dash-to-dock" = {
apply-custom-theme = false;
autohide-in-fullscreen = false;
autohide-in-fullscreen = true;
background-color = "rgb(0,0,0)";
background-opacity = 0.8;
click-action = "skip";
@@ -109,7 +108,7 @@
blur = false;
brightness = 1.0;
opacity = 217;
whitelist = [ "org.gnome.Console" ];
whitelist = ["org.gnome.Console"];
};
"org/gnome/shell/extensions/blur-my-shell/coverflow-alt-tab" = {

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/gnome/desktop/interface" = {
accent-color = "red";
@@ -33,13 +32,13 @@
};
"org/gnome/desktop/wm/keybindings" = {
move-to-workspace-left = [ "<Shift><Control><Super>Left" ];
move-to-workspace-right = [ "<Shift><Control><Super>Right" ];
switch-to-workspace-left = [ "<Control><Super>Left" ];
switch-to-workspace-right = [ "<Control><Super>Right" ];
switch-windows = [ "<Alt>Tab" ];
switch-windows-backward = [ "<Shift><Alt>Tab" ];
toggle-fullscreen = [ "<Super>F11" ];
move-to-workspace-left = ["<Shift><Control><Super>Left"];
move-to-workspace-right = ["<Shift><Control><Super>Right"];
switch-to-workspace-left = ["<Control><Super>Left"];
switch-to-workspace-right = ["<Control><Super>Right"];
switch-windows = ["<Alt>Tab"];
switch-windows-backward = ["<Shift><Alt>Tab"];
toggle-fullscreen = ["<Super>F11"];
};
"org/gnome/desktop/wm/preferences" = {
@@ -89,7 +88,7 @@
};
"org/gnome/desktop/app-folders" = {
folder-children = [ ];
folder-children = [];
};
"org/gnome/desktop/datetime" = {

View File

@@ -1,9 +1,9 @@
{ ... }:
{
{...}: {
imports = [
./dconf
./desktop-files.nix
./starship.nix
./services.nix
./zsh.nix
];

View File

@@ -2,8 +2,7 @@
config,
pkgs,
...
}:
{
}: {
xdg.dataFile."applications/clion.desktop".text = ''
[Desktop Entry]
Type=Application

View File

@@ -0,0 +1,41 @@
{pkgs, ...}: let
devShellsDir = "$HOME/.config/nix-shells";
nixConfigDir = "/etc/nixos";
syncScript = pkgs.writeShellScript "sync-all-repos" ''
repos=("${devShellsDir}" "${nixConfigDir}")
for repo in "''${repos[@]}"; do
echo "Syncing $repo..."
if ! ${pkgs.git}/bin/git -C "$repo" pull --rebase --autostash; then
${pkgs.libnotify}/bin/notify-send -u critical "Sync Failed" "Conflict or network error in $repo"
else
${pkgs.git}/bin/git -C "$repo" add -N . 2>/dev/null || true
fi
done
'';
in {
systemd.user.services.sync-nix-repos = {
Unit = {
Description = "Background sync for Nix Config and Dev Shells";
After = ["network-online.target"];
Wants = ["network-online.target"];
};
Service = {
Type = "oneshot";
ExecStart = "${syncScript}";
PassEnvironment = ["DBUS_SESSION_BUS_ADDRESS" "DISPLAY"];
};
};
systemd.user.timers.sync-nix-repos = {
Unit.Description = "Hourly sync for all Nix repositories";
Timer = {
OnBootSec = "2m";
OnUnitActiveSec = "1h";
Persistent = true;
};
Install.WantedBy = ["timers.target"];
};
}

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
programs.starship = {
enable = true;
settings = {

View File

@@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
programs.zsh = {
enable = true;
enableCompletion = true;

View File

@@ -2,12 +2,12 @@
config,
pkgs,
lib,
clion-flake,
czkawka-master,
solaar-master,
fet,
...
}:
{
}: {
nixpkgs = {
config = {
allowUnfree = true;
@@ -16,6 +16,7 @@
"cisco-packet-tracer_9"
];
};
overlays = [
(final: prev: {
nautilus = prev.nautilus.overrideAttrs (nprev: {
@@ -92,7 +93,8 @@
iftop
inkscape
iotop
jetbrains.clion
#jetbrains.clion
clion-flake.packages.${pkgs.stdenv.hostPlatform.system}.default
jq
just
killall
@@ -153,12 +155,13 @@
vkbasalt
vlc
(vscode.fhsWithPackages (
ps: with ps; [
python3
zlib
gcc
gnumake
]
ps:
with ps; [
python3
zlib
gcc
gnumake
]
))
webp-pixbuf-loader
wev

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
programs = {
dconf.profiles.gdm.databases = [
{
@@ -79,7 +78,7 @@
nix-ld = {
enable = true;
libraries = with pkgs; [ ];
libraries = with pkgs; [];
};
steam = {

View File

@@ -3,13 +3,14 @@
pkgs,
lib,
...
}:
{
}: {
services = {
sshd.enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
blueman.enable = true;
geoclue2.enable = true;
xserver = {
@@ -78,6 +79,18 @@
interval = "weekly";
};
kmscon = {
enable = true;
fonts = [
{
name = "FiraCode Nerd Font Mono";
package = pkgs.nerd-fonts.fira-code;
}
];
useXkbConfig = true;
hwRender = true;
};
fwupd.enable = true;
udev.packages = with pkgs; [

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
imports = [
./hardware-configuration.nix
./modules

View File

@@ -7,15 +7,14 @@
pkgs,
modulesPath,
...
}:
{
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd = {
kernelModules = [ ];
kernelModules = [];
verbose = false;
availableKernelModules = [
"nvme"
@@ -36,7 +35,7 @@
pkgs.linuxKernel.packages.linux_xanmod_latest.zenpower
];
blacklistedKernelModules = [ "k10temp" ];
blacklistedKernelModules = ["k10temp"];
kernelParams = [
"amdgpu.seamless=1"
@@ -180,7 +179,7 @@
];
};
swapDevices = [ ];
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./flatpak.nix
./gdm-monitors.nix

View File

@@ -3,6 +3,5 @@
pkgs,
lib,
...
}:
{
}: {
}

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
let
}: let
gdmMonitorsXml = pkgs.writeText "gdm-monitor.xml" ''
<monitors version="2">
<configuration>
@@ -291,8 +290,7 @@ let
</configuration>
</monitors>
'';
in
{
in {
systemd.tmpfiles.rules = [
"L+ /run/gdm/.config/monitors.xml - - - - ${gdmMonitorsXml}"
];

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment = {
systemPackages = with pkgs.gnomeExtensions; [
control-monitor-brightness-and-volume-with-ddcutil

View File

@@ -1,4 +1,3 @@
{ ... }:
{
dconf.settings = { };
{...}: {
dconf.settings = {};
}

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./apps.nix
./extensions.nix

View File

@@ -1,4 +1,3 @@
{ ... }:
{
dconf.settings = { };
{...}: {
dconf.settings = {};
}

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
dconf.settings = {
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = lib.mkAfter [

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./dconf
];

View File

@@ -4,8 +4,7 @@
lib,
czkawka-master,
...
}:
{
}: {
environment.systemPackages = with pkgs; [
amdgpu_top
arch-install-scripts

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
programs = {
ccache = {
enable = true;

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment.systemPackages = with pkgs; [
zram-generator
];

View File

@@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
virtualisation.vmVariant = {
virtualisation = {
memorySize = 8192;

67
flake.lock generated
View File

@@ -1,10 +1,24 @@
{
"nodes": {
"clion-flake": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"path": "./common/flakes/clion-flake",
"type": "path"
},
"original": {
"path": "./common/flakes/clion-flake",
"type": "path"
},
"parent": []
},
"czkawka-master": {
"inputs": {
"czkawka-src": "czkawka-src",
"naersk": "naersk",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"path": "./common/flakes/czkawka-master",
@@ -19,11 +33,11 @@
"czkawka-src": {
"flake": false,
"locked": {
"lastModified": 1773724747,
"narHash": "sha256-wXiP4t5fQlAVrpZyJcIhUJ1Mdjn94eUaAOR4b08cWAI=",
"lastModified": 1774297847,
"narHash": "sha256-iEgM0Wjhyy2H6HxnqY7YDAHiuDIUaw5rmsE1Zsij/nk=",
"owner": "qarmin",
"repo": "czkawka",
"rev": "28ae8bae1ebe9858b395364386aefba6bcd40c45",
"rev": "7680c07130f7bbfb5019e328362eaaebdce7aece",
"type": "github"
},
"original": {
@@ -58,7 +72,7 @@
"fet": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_2"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"path": "./common/flakes/fet",
@@ -95,11 +109,11 @@
]
},
"locked": {
"lastModified": 1774210133,
"narHash": "sha256-yeiWCY9aAUUJ3ebMVjs0UZXRnT5x90MCtpbpOWiXrvM=",
"lastModified": 1774875815,
"narHash": "sha256-PzqwM4njoB3aznqwPZUawD4uOcJeu7N6GBTJKg81EQ4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c6fe2944ad9f2444b2d767c4a5edee7c166e8a95",
"rev": "9340f51314713c83360bf72d75c8b404778ab5b1",
"type": "github"
},
"original": {
@@ -147,11 +161,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1773821835,
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
"lastModified": 1774709303,
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
"type": "github"
},
"original": {
@@ -163,11 +177,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1773821835,
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
"lastModified": 1774709303,
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
"type": "github"
},
"original": {
@@ -179,11 +193,27 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1774235121,
"narHash": "sha256-CzpSER+YKq4yD+RPom6Su9c/4FutF+sD4rEnls+4MyM=",
"lastModified": 1774709303,
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1116aed2cee959f7d054a462458513ad323b710a",
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1774847206,
"narHash": "sha256-w0CBrn0GMqc6DAskum9LoJN1ur9irneL3P6ZZeXXQug=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "b584523193e892d7261a7fe6520fb6021896cac1",
"type": "github"
},
"original": {
@@ -195,11 +225,12 @@
},
"root": {
"inputs": {
"clion-flake": "clion-flake",
"czkawka-master": "czkawka-master",
"fet": "fet",
"home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_4"
}
},
"rust-analyzer-src": {

108
flake.nix
View File

@@ -9,67 +9,65 @@
czkawka-master.url = "path:./common/flakes/czkawka-master";
fet.url = "path:./common/flakes/fet";
clion-flake.url = "path:./common/flakes/clion-flake";
};
outputs =
{
self,
nixpkgs,
nix-flatpak,
home-manager,
...
}@inputs:
let
specialArgs = { inherit (inputs) czkawka-master fet; };
in
{
nixosConfigurations = {
epiquev2 = nixpkgs.lib.nixosSystem {
inherit specialArgs;
system = "x86_64-linux";
modules = [
./common
./desktop
nix-flatpak.nixosModules.nix-flatpak
outputs = {
self,
nixpkgs,
nix-flatpak,
home-manager,
...
} @ inputs: let
specialArgs = {inherit (inputs) czkawka-master fet clion-flake;};
in {
nixosConfigurations = {
epiquev2 = nixpkgs.lib.nixosSystem {
inherit specialArgs;
system = "x86_64-linux";
modules = [
./common
./desktop
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.jax = {
imports = [
./common/modules/home
./desktop/modules/home
];
};
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.jax = {
imports = [
./common/modules/home
./desktop/modules/home
];
};
}
];
};
};
}
];
};
dalaptop = nixpkgs.lib.nixosSystem {
inherit specialArgs;
system = "x86_64-linux";
modules = [
./common
./laptop
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.jax = {
imports = [
./common/modules/home
./laptop/modules/home
];
};
dalaptop = nixpkgs.lib.nixosSystem {
inherit specialArgs;
system = "x86_64-linux";
modules = [
./common
./laptop
nix-flatpak.nixosModules.nix-flatpak
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.jax = {
imports = [
./common/modules/home
./laptop/modules/home
];
};
}
];
};
};
}
];
};
};
};
}

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
imports = [
./hardware-configuration.nix
./modules

View File

@@ -7,8 +7,7 @@
pkgs,
modulesPath,
...
}:
{
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
@@ -23,11 +22,11 @@
"sd_mod"
];
kernelModules = [ ];
kernelModules = [];
};
kernelModules = [ "kvm-intel" ];
extraModulePackages = [ ];
kernelModules = ["kvm-intel"];
extraModulePackages = [];
resumeDevice = "/dev/disk/by-uuid/bea07563-dc23-415b-b12f-ba53138bd492";
kernelParams = [

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./flatpak.nix
./gnome.nix

View File

@@ -3,6 +3,5 @@
pkgs,
lib,
...
}:
{
}: {
}

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment = {
systemPackages = with pkgs.gnomeExtensions; [
];

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
dconf.settings = {
"org/gnome/Console" = {
custom-font = "FiraCode Nerd Font Mono 11";

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./apps.nix
./extensions.nix

View File

@@ -1,4 +1,3 @@
{ ... }:
{
dconf.settings = { };
{...}: {
dconf.settings = {};
}

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
dconf.settings = {
"org/gnome/desktop/peripherals/touchpad" = {
click-method = "areas";

View File

@@ -1,5 +1,4 @@
{ ... }:
{
{...}: {
imports = [
./dconf
];

View File

@@ -3,8 +3,7 @@
pkgs,
lib,
...
}:
{
}: {
environment.systemPackages = with pkgs; [
btop
gnome-power-manager

View File

@@ -1,3 +1,2 @@
{ ... }:
{
{...}: {
}

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services.thermald.enable = true;
services.power-profiles-daemon.enable = false;
services.tlp = {
@@ -42,7 +41,7 @@
systemd.services.disable-problematic-wakeup = {
description = "Disable only specific noisy wakeup sources";
wantedBy = [ "multi-user.target" ];
wantedBy = ["multi-user.target"];
serviceConfig = {
Type = "oneshot";