This commit is contained in:
snurm committed 2026-10-10 23:43:02 +02:00
1 parent f55767ef6b
commit 38e15dc779
10 files changed
+40 -32

No files matched your search

+7 -8
View File
@@ -1,12 +1,11 @@
# DO-NOT-EDIT. This file was auto-generated using github:vic/flake-file.
# Use `nix run .#write-flake` to regenerate it.
{ {
description = "A simple NixOS flake";
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules); outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
inputs = { inputs = {
# NixOS official package source, using the nixos-26.05 branch here flake-file.url = "github:vic/flake-file";
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
helium-browser = { helium-browser = {
url = "github:schembriaiden/helium-browser-nix-flake"; url = "github:schembriaiden/helium-browser-nix-flake";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@@ -15,12 +14,12 @@
url = "github:nix-community/home-manager/release-26.05"; url = "github:nix-community/home-manager/release-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
import-tree.url = "github:vic/import-tree";
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixvim = { nixvim = {
url = "github:nix-community/nixvim/nixos-26.05"; url = "github:nix-community/nixvim/nixos-26.05";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
flake-parts.url = "github:hercules-ci/flake-parts";
flake-file.url = "github:vic/flake-file";
import-tree.url = "github:vic/import-tree";
}; };
} }
@@ -1,11 +0,0 @@
{ inputs, ... }: {
flake.modules.nixos.nixos-desktop = {
imports =
with inputs.self.modules.nixos;
with inputs.self.factory;
[
system-desktop
i18n-de
];
};
}
@@ -1,10 +1,11 @@
{ inputs, ... }: { { inputs, ... }: {
flake.modules.nixos.nixos-desktop = { config, ... } : { flake.modules.nixos.nixos-desktop = {
imports = with inputs.self.modules.nixos; [ imports = with inputs.self.modules.nixos; [
snurm snurm
steam
]; ];
home-manager.users.snurm = { config, ... }: { home-manager.users.snurm = {
imports = imports =
with inputs.self.modules.homeManager; with inputs.self.modules.homeManager;
with inputs.self.factory; with inputs.self.factory;
+2
View File
@@ -284,6 +284,8 @@ hl.bind(mainMod .. " + SHIFT + L", hl.dsp.window.move({ direction = "right" }))
hl.bind(mainMod .. " + SHIFT + K", hl.dsp.window.move({ direction = "up" })) hl.bind(mainMod .. " + SHIFT + K", hl.dsp.window.move({ direction = "up" }))
hl.bind(mainMod .. " + SHIFT + J", hl.dsp.window.move({ direction = "down" })) hl.bind(mainMod .. " + SHIFT + J", hl.dsp.window.move({ direction = "down" }))
-- fullscreen
hl.bind(mainMod .. " + SHIFT + F", hl.dsp.window.fullscreen({ mode = "fullscreen", action = "toggle" }))
-- Switch workspaces with mainMod + [0-9] -- Switch workspaces with mainMod + [0-9]
-- Move active window to a workspace with mainMod + SHIFT + [0-9] -- Move active window to a workspace with mainMod + SHIFT + [0-9]
for i = 1, 10 do for i = 1, 10 do
+6
View File
@@ -3,9 +3,15 @@
programs.hyprland.enable = true; programs.hyprland.enable = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
#maybe remove
home-manager.sharedModules = [ home-manager.sharedModules = [
inputs.self.modules.homeManager.hyprland inputs.self.modules.homeManager.hyprland
]; ];
imports =
with inputs.self.modules.nixos;
[
screenshot
];
}; };
flake.modules.homeManager.hyprland = { pkgs, ... }: { flake.modules.homeManager.hyprland = { pkgs, ... }: {
+8
View File
@@ -0,0 +1,8 @@
{
flake.modules.nixos.screenshot = { pkgs, ... }: {
environment.systemPackages = with pkgs; [
slurp
grim
];
};
}
+13
View File
@@ -0,0 +1,13 @@
{
flake.modules.nixos.steam = { pkgs, ... }: {
programs.steam = {
enable = true;
extraCompatPackages = [
pkgs.proton-ge-bin
];
protontricks = {
enable = true;
};
};
};
}
-3
View File
@@ -7,9 +7,6 @@
}; };
flake.modules.homeManager.zsh = { pkgs, ... }: { flake.modules.homeManager.zsh = { pkgs, ... }: {
imports = with inputs.self.modules.homeManager; [
];
programs.zsh = { programs.zsh = {
enable = true; enable = true;
+1 -1
View File
@@ -1,7 +1,7 @@
{ inputs, ... }: { { inputs, ... }: {
flake-file.inputs = { flake-file.inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
}; };
flake.modules.nixos.system-base = { pkgs, ... }: { flake.modules.nixos.system-base = { pkgs, ... }: {
-7
View File
@@ -11,13 +11,6 @@
(self.factory.user "snurm" true) (self.factory.user "snurm" true)
{ {
nixos.snurm = { nixos.snurm = {
imports =
with self.modules.nixos;
with self.factory;
[
];
users.users.snurm.extraGroups = [ users.users.snurm.extraGroups = [
"networkmanager" "networkmanager"
]; ];