Compare commits

..

No commits in common. "602337bd370ebd9f9608d6b12053bf05d4942d3d" and "491bd4a337e93cdd8a1d710be8bd4b162eb45327" have entirely different histories.

8 changed files with 13 additions and 28 deletions

View File

@ -1,12 +0,0 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/nix-community/nixpkgs-fmt
rev: v1.3.0
hooks:
- id: nixpkgs-fmt

View File

@ -1 +1,3 @@
# My NixOS config

View File

@ -13,8 +13,7 @@
let
system = "x86_64-linux";
user = "torjus";
in
{
in {
nixosConfigurations.prismo = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs self user; };

View File

@ -25,7 +25,7 @@
};
home.packages = with pkgs; [
# nix stuff
nixpkgs-fmt
nixfmt
nil
statix
];

View File

@ -76,15 +76,13 @@
"$mainMod,l,movewindow,r"
"$mainMod,k,movewindow,u"
"$mainMod,j,movewindow,d"
] ++ (builtins.concatLists (builtins.genList
(x:
let
ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10));
in
[
"$mainMod, ${ws}, workspace, ${toString (x + 1)}"
"ALT, ${ws}, workspace, ${toString (x + 1)}"
]) 10));
] ++ (builtins.concatLists (builtins.genList (x:
let
ws = let c = (x + 1) / 10; in builtins.toString (x + 1 - (c * 10));
in [
"$mainMod, ${ws}, workspace, ${toString (x + 1)}"
"ALT, ${ws}, workspace, ${toString (x + 1)}"
]) 10));
exec-once = [ "waybar &" ];
};
};

View File

@ -10,7 +10,6 @@
ncdu
pamixer
pinentry
pre-commit
pulsemixer
rbw
restic
@ -32,8 +31,5 @@
python3
poetry
ruff
# Rust
rustup
];
}

View File

@ -11,3 +11,4 @@ in {
};
};
}

View File

@ -54,3 +54,4 @@
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
system.stateVersion = "23.11"; # Did you read the comment?
}