Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8dfdf305b7 | ||
|
|
0ca8d4fd05 | ||
|
|
9f6688b397 | ||
|
|
32f84fd69e | ||
|
|
3e662f72f7 | ||
|
|
cedfbd6ef6 | ||
|
|
03d7b5569d |
No files matched your search
Generated
+10
-10
@@ -128,11 +128,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1794552581,
|
"lastModified": 1794872590,
|
||||||
"narHash": "sha256-qXFIqA6FCcx7XeDzw0ZNlkDT9UiCzrNDwK8RuU8RcHM=",
|
"narHash": "sha256-E+XLAfnC7+bdr4qlEgRv6cdGmiqTU5oeFNKCha7epqQ=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f1e5c356f35d07e7b71a6b5e6c9338e0b029e0c0",
|
"rev": "f68407657ad294471eb4b2e65d193df26edf729f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -176,11 +176,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_5": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793341285,
|
"lastModified": 1794537146,
|
||||||
"narHash": "sha256-LOv16TsMYV2/8BUYnhSxHkOASe7es2ORbqMeLlZJ8Hc=",
|
"narHash": "sha256-bTKSclXJAmo9qdxPedTBHUGr8awPr4BrbOoOutJsYIc=",
|
||||||
"rev": "1c89083e451e891152365b799595cf7790a43325",
|
"rev": "d5cc6833999746cffdfe0598f7bc801a57b887a9",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1105037.1c89083e451e/nixexprs.tar.xz"
|
"url": "https://releases.nixos.org/nixos/unstable/nixos-26.11pre1119549.d5cc68339997/nixexprs.tar.xz"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
@@ -283,11 +283,11 @@
|
|||||||
"systems": "systems_2"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1793662659,
|
"lastModified": 1794871977,
|
||||||
"narHash": "sha256-a+za5QCDlOe/PsuMlZiBcQ13cyiyOscK17BAJFu1/dE=",
|
"narHash": "sha256-An9Qcr31Z+PmF4TlJWY6RkM4yPbBKc2vkyp6NctvMEk=",
|
||||||
"owner": "Gerg-L",
|
"owner": "Gerg-L",
|
||||||
"repo": "spicetify-nix",
|
"repo": "spicetify-nix",
|
||||||
"rev": "13e6fed4eb99f809d390fb50f591bed6cb716dc0",
|
"rev": "cd7d88aca6db91899373d5574bb252547f4c8c2c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
skwd-wall.nixosModules.default
|
skwd-wall.nixosModules.default
|
||||||
./hosts/WarNyx/configuration.nix
|
./hosts/Winter/WarNyx/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
Reconix = nixpkgs.lib.nixosSystem {
|
Reconix = nixpkgs.lib.nixosSystem {
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
nix-flatpak.nixosModules.nix-flatpak
|
nix-flatpak.nixosModules.nix-flatpak
|
||||||
skwd-wall.nixosModules.default
|
skwd-wall.nixosModules.default
|
||||||
./hosts/Reconix/configuration.nix
|
./hosts/Winter/Reconix/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,94 +0,0 @@
|
|||||||
# This is your home-manager configuration file
|
|
||||||
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
|
||||||
{
|
|
||||||
inputs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
username = "Ekisha";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
# You can import other home-manager modules here
|
|
||||||
imports = [
|
|
||||||
# If you want to use modules your own flake exports (from modules/home-manager):
|
|
||||||
# inputs.self.homeManagerModules.example
|
|
||||||
|
|
||||||
# Or modules exported from other flakes (such as nix-colors):
|
|
||||||
# inputs.nix-colors.homeManagerModules.default
|
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
|
||||||
# ./nvim.nix
|
|
||||||
|
|
||||||
#../common/features/niri/niri.nix
|
|
||||||
../common/features/spicetify.nix
|
|
||||||
../common/features/yazi/yazi.nix
|
|
||||||
../common/features/nvimConf.nix
|
|
||||||
../common/features/shell.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
nixpkgs = {
|
|
||||||
# You can add overlays here
|
|
||||||
overlays = [
|
|
||||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
|
||||||
inputs.self.overlays.additions
|
|
||||||
inputs.self.overlays.modifications
|
|
||||||
inputs.self.overlays.unstable-packages
|
|
||||||
|
|
||||||
# You can also add overlays exported from other flakes:
|
|
||||||
# neovim-nightly-overlay.overlays.default
|
|
||||||
|
|
||||||
# Or define it inline, for example:
|
|
||||||
# (final: prev: {
|
|
||||||
# hi = final.hello.overrideAttrs (oldAttrs: {
|
|
||||||
# patches = [ ./change-hello-to-hi.patch ];
|
|
||||||
# });
|
|
||||||
# })
|
|
||||||
];
|
|
||||||
# Configure your nixpkgs instance
|
|
||||||
config = {
|
|
||||||
# Disable if you don't want unfree packages
|
|
||||||
allowUnfree = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# --- xdg ---
|
|
||||||
#xdg.mimeApps = {
|
|
||||||
# enable = true;
|
|
||||||
# defaultApplications = {
|
|
||||||
# "inode/directory" = [ "kitty-open.desktop" ];
|
|
||||||
# "image/jpeg" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
# "image/png" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
# "image/gif" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
# "image/webp" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
# "image/tiff" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
# "image/bmp" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# --- General utils ---
|
|
||||||
libreoffice
|
|
||||||
libresprite
|
|
||||||
hunspell
|
|
||||||
hunspellDicts.en_US
|
|
||||||
rose-pine-cursor # TODO: ensure change cursor
|
|
||||||
];
|
|
||||||
|
|
||||||
home = {
|
|
||||||
username = username;
|
|
||||||
homeDirectory = "/home/${username}";
|
|
||||||
};
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# --- General utils ---
|
|
||||||
programs.quickshell.enable = true;
|
|
||||||
programs.obsidian = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
|
||||||
home.stateVersion = "25.11";
|
|
||||||
}
|
|
||||||
File renamed without changes.
+27
-22
@@ -6,7 +6,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# You can import other home-manager modules here
|
# You can import other home-manager modules here
|
||||||
imports = [
|
imports = [
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./nvim.nix
|
# ./nvim.nix
|
||||||
|
|
||||||
../common/features/niri/niri.nix
|
./common/features/niri/niri.nix
|
||||||
../common/features/spicetify.nix
|
./common/features/spicetify.nix
|
||||||
../common/features/yazi/yazi.nix
|
./common/features/yazi/yazi.nix
|
||||||
../common/features/nvimConf.nix
|
./common/features/nvimConf.nix
|
||||||
../common/features/shell.nix
|
./common/features/shell.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -51,6 +51,27 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = (
|
||||||
|
(with pkgs; [
|
||||||
|
# --- General utils ---
|
||||||
|
libreoffice # Microsoft replace
|
||||||
|
hunspell
|
||||||
|
hunspellDicts.en_US
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
# --- Creative utils ---
|
||||||
|
obs-studio
|
||||||
|
shotcut
|
||||||
|
blockbench
|
||||||
|
libresprite # Pixel art
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
|
programs.home-manager.enable = true;
|
||||||
|
# --- General utils ---
|
||||||
|
programs.quickshell.enable = true;
|
||||||
|
programs.joplin-desktop.enable = true;
|
||||||
|
|
||||||
# --- xdg ---
|
# --- xdg ---
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -65,22 +86,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# --- General utils ---
|
|
||||||
libreoffice #Microsoft replace
|
|
||||||
libresprite #Pixel art
|
|
||||||
hunspell
|
|
||||||
hunspellDicts.en_US
|
|
||||||
obs-studio
|
|
||||||
shotcut
|
|
||||||
blockbench
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# --- General utils ---
|
|
||||||
programs.quickshell.enable = true;
|
|
||||||
programs.joplin-desktop.enable = true;
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
# This is your home-manager configuration file
|
||||||
|
# Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix)
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
username = "Ekisha";
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# You can import other home-manager modules here
|
||||||
|
imports = [
|
||||||
|
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||||
|
# inputs.self.homeManagerModules.example
|
||||||
|
|
||||||
|
# Or modules exported from other flakes (such as nix-colors):
|
||||||
|
# inputs.nix-colors.homeManagerModules.default
|
||||||
|
|
||||||
|
# You can also split up your configuration and import pieces of it here:
|
||||||
|
# ./nvim.nix
|
||||||
|
|
||||||
|
../Base.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
# You can add overlays here
|
||||||
|
overlays = [
|
||||||
|
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||||
|
inputs.self.overlays.additions
|
||||||
|
inputs.self.overlays.modifications
|
||||||
|
inputs.self.overlays.unstable-packages
|
||||||
|
|
||||||
|
# You can also add overlays exported from other flakes:
|
||||||
|
# neovim-nightly-overlay.overlays.default
|
||||||
|
|
||||||
|
# Or define it inline, for example:
|
||||||
|
# (final: prev: {
|
||||||
|
# hi = final.hello.overrideAttrs (oldAttrs: {
|
||||||
|
# patches = [ ./change-hello-to-hi.patch ];
|
||||||
|
# });
|
||||||
|
# })
|
||||||
|
];
|
||||||
|
# Configure your nixpkgs instance
|
||||||
|
config = {
|
||||||
|
# Disable if you don't want unfree packages
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home.packages = (
|
||||||
|
(with pkgs; [
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
|
home = {
|
||||||
|
username = username;
|
||||||
|
homeDirectory = "/home/${username}";
|
||||||
|
};
|
||||||
|
|
||||||
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
|
home.stateVersion = "25.11";
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
username = "Tester";
|
username = "Tester";
|
||||||
in
|
in
|
||||||
@@ -22,11 +22,7 @@ in
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./nvim.nix
|
# ./nvim.nix
|
||||||
|
|
||||||
../common/features/niri/niri.nix
|
../Base.nix
|
||||||
../common/features/spicetify.nix
|
|
||||||
../common/features/yazi/yazi.nix
|
|
||||||
../common/features/nvimConf.nix
|
|
||||||
../common/features/shell.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -54,39 +50,17 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# --- xdg ---
|
home.packages = (
|
||||||
xdg.mimeApps = {
|
(with pkgs; [
|
||||||
enable = true;
|
])
|
||||||
defaultApplications = {
|
++ (with pkgs.unstablePkgs; [
|
||||||
"inode/directory" = [ "kitty-open.desktop" ];
|
])
|
||||||
"image/jpeg" = [ "org.gnome.gThumb.desktop" ];
|
);
|
||||||
"image/png" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/gif" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/webp" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/tiff" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/bmp" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
# --- General utils ---
|
|
||||||
libreoffice
|
|
||||||
libresprite
|
|
||||||
hunspell
|
|
||||||
hunspellDicts.en_US
|
|
||||||
obs-studio
|
|
||||||
shotcut
|
|
||||||
];
|
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = username;
|
username = username;
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# --- General utils ---
|
|
||||||
programs.quickshell.enable = true;
|
|
||||||
programs.joplin-desktop.enable = true;
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
username = "Winter";
|
username = "Winter";
|
||||||
in
|
in
|
||||||
@@ -22,11 +22,7 @@ in
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./nvim.nix
|
# ./nvim.nix
|
||||||
|
|
||||||
../common/features/niri/niri.nix
|
../Base.nix
|
||||||
../common/features/spicetify.nix
|
|
||||||
../common/features/yazi/yazi.nix
|
|
||||||
../common/features/nvimConf.nix
|
|
||||||
../common/features/shell.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -53,34 +49,18 @@ in
|
|||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# --- xdg ---
|
|
||||||
xdg.mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
defaultApplications = {
|
|
||||||
"inode/directory" = [ "kitty-open.desktop" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = (
|
||||||
# --- General utils ---
|
(with pkgs; [
|
||||||
libreoffice
|
])
|
||||||
libresprite
|
++ (with pkgs.unstablePkgs; [
|
||||||
hunspell
|
])
|
||||||
hunspellDicts.en_US
|
);
|
||||||
rose-pine-cursor # TODO: ensure change cursor
|
|
||||||
];
|
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = username;
|
username = username;
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# --- General utils ---
|
|
||||||
programs.quickshell.enable = true;
|
|
||||||
programs.obsidian = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
username = "Winter";
|
username = "Winter";
|
||||||
in
|
in
|
||||||
@@ -22,11 +22,7 @@ in
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./nvim.nix
|
# ./nvim.nix
|
||||||
|
|
||||||
../common/features/niri/niri.nix
|
../Base.nix
|
||||||
../common/features/spicetify.nix
|
|
||||||
../common/features/yazi/yazi.nix
|
|
||||||
../common/features/nvimConf.nix
|
|
||||||
../common/features/shell.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -54,33 +50,11 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# --- xdg ---
|
|
||||||
xdg.mimeApps = {
|
|
||||||
enable = true;
|
|
||||||
defaultApplications = {
|
|
||||||
"inode/directory" = [ "kitty-open.desktop" ];
|
|
||||||
"image/jpeg" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/png" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/gif" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/webp" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/tiff" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
"image/bmp" = [ "org.gnome.gThumb.desktop" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
home.packages = (
|
home.packages = (
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
# --- General utils ---
|
jdk21
|
||||||
libreoffice # Microsoft replace
|
|
||||||
hunspell
|
|
||||||
hunspellDicts.en_US
|
|
||||||
])
|
])
|
||||||
++ (with pkgs.unstablePkgs; [
|
++ (with pkgs.unstablePkgs; [
|
||||||
# --- Creative utils ---
|
|
||||||
obs-studio
|
|
||||||
shotcut
|
|
||||||
blockbench
|
|
||||||
libresprite # Pixel art
|
|
||||||
])
|
])
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -88,11 +62,6 @@ in
|
|||||||
username = username;
|
username = username;
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# --- General utils ---
|
|
||||||
programs.quickshell.enable = true;
|
|
||||||
programs.joplin-desktop.enable = true;
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
username = "";
|
username = "Winter"; #FIXME
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# You can import other home-manager modules here
|
# You can import other home-manager modules here
|
||||||
@@ -22,11 +22,7 @@ in
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./nvim.nix
|
# ./nvim.nix
|
||||||
|
|
||||||
#../common/features/niri/niri.nix
|
../Base.nix
|
||||||
#../common/features/spicetify.nix
|
|
||||||
#../common/features/yazi/yazi.nix
|
|
||||||
#../common/features/nvimConf.nix
|
|
||||||
#../common/features/shell.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -54,14 +50,17 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = (
|
||||||
];
|
(with pkgs; [
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = username;
|
username = username;
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -13,10 +13,16 @@ in
|
|||||||
{
|
{
|
||||||
# You can import other home-manager modules here
|
# You can import other home-manager modules here
|
||||||
imports = [
|
imports = [
|
||||||
../common/features/niri/niri.nix
|
# If you want to use modules your own flake exports (from modules/home-manager):
|
||||||
../common/features/yazi/yazi.nix
|
# inputs.self.homeManagerModules.example
|
||||||
../common/features/nvimConf.nix
|
|
||||||
../common/features/shell.nix
|
# Or modules exported from other flakes (such as nix-colors):
|
||||||
|
# inputs.nix-colors.homeManagerModules.default
|
||||||
|
|
||||||
|
# You can also split up your configuration and import pieces of it here:
|
||||||
|
# ./nvim.nix
|
||||||
|
|
||||||
|
../Base.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
@@ -44,14 +50,18 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = (
|
||||||
];
|
(with pkgs; [
|
||||||
|
jdk21
|
||||||
|
])
|
||||||
|
++ (with pkgs.unstablePkgs; [
|
||||||
|
])
|
||||||
|
);
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = username;
|
username = username;
|
||||||
homeDirectory = "/home/${username}";
|
homeDirectory = "/home/${username}";
|
||||||
};
|
};
|
||||||
programs.home-manager.enable = true;
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
home.stateVersion = "25.11";
|
home.stateVersion = "25.11";
|
||||||
@@ -61,7 +61,7 @@ in
|
|||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
users = {
|
users = {
|
||||||
EXAMPLE = import ../../home/EXAMPLE/${hostname}.nix; # FIXME
|
EXAMPLE = import ../../../home/Ricky/EXAMPLE/${hostname}.nix; # FIXME
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# TODO: ensure correct paths
|
# TODO: ensure correct paths
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../../home/Ricky/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
@@ -31,7 +31,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../home/Ricky/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
hostname = "Ricky";
|
hostname = "nixos";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
@@ -62,7 +62,7 @@ in
|
|||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
users = {
|
users = {
|
||||||
dev = import ../../home/Ricky/dev/${hostname}.nix;
|
dev = import ../../../home/Ricky/dev/${hostname}.nix; # FIXME
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
File renamed without changes.
@@ -62,7 +62,7 @@ in
|
|||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
users = {
|
users = {
|
||||||
Winter = import ../../home/Winter/${hostname}.nix; # FIXME
|
Winter = import ../../home/Winter/Winter/${hostname}.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
File renamed without changes.
@@ -33,7 +33,7 @@ in
|
|||||||
../common/features/DesktopNiri.nix
|
../common/features/DesktopNiri.nix
|
||||||
../common/features/DesktopKDEPlasma.nix
|
../common/features/DesktopKDEPlasma.nix
|
||||||
../common/features/Applications.nix
|
../common/features/Applications.nix
|
||||||
../common/features/servers/minecraft.nix
|
../common/servers/minecraft.nix
|
||||||
|
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
@@ -67,12 +67,6 @@ in
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = { inherit inputs; };
|
extraSpecialArgs = { inherit inputs; };
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
users = {
|
|
||||||
Winter = import ../../home/Winter/${hostname}.nix;
|
|
||||||
minecraft = import ../../home/Winter/minecraft.nix;
|
|
||||||
Ekisha = import ../../home/Ekisha/${hostname}.nix;
|
|
||||||
Tester = import ../../home/Tester/${hostname}.nix;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.extraHosts = "
|
networking.extraHosts = "
|
||||||
File renamed without changes.
@@ -0,0 +1,86 @@
|
|||||||
|
# This is your system's configuration file.
|
||||||
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
hostname = ""; #FIXME, also ensure /home/username/hostname.nix
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# You can import other NixOS modules here
|
||||||
|
imports = [
|
||||||
|
# If you want to use modules your own flake exports (from modules/nixos):
|
||||||
|
# inputs.self.nixosModules.example
|
||||||
|
|
||||||
|
# Or modules from other flakes (such as nixos-hardware):
|
||||||
|
# inputs.hardware.nixosModules.common-cpu-amd
|
||||||
|
# inputs.hardware.nixosModules.common-ssd
|
||||||
|
|
||||||
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
../common/users/Winter/default.nix
|
||||||
|
#../common/global/default.nix
|
||||||
|
#../common/features/Desktop.nix
|
||||||
|
#../common/features/Applications.nix
|
||||||
|
#../common/features/servers/minecraft.nix
|
||||||
|
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs = {
|
||||||
|
# You can add overlays here
|
||||||
|
overlays = [
|
||||||
|
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||||
|
inputs.self.overlays.additions
|
||||||
|
inputs.self.overlays.modifications
|
||||||
|
inputs.self.overlays.unstable-packages
|
||||||
|
|
||||||
|
# You can also add overlays exported from other flakes:
|
||||||
|
# neovim-nightly-overlay.overlays.default
|
||||||
|
|
||||||
|
# Or define it inline, for example:
|
||||||
|
# (final: prev: {
|
||||||
|
# hi = final.hello.overrideAttrs (oldAttrs: {
|
||||||
|
# patches = [ ./change-hello-to-hi.patch ];
|
||||||
|
# });
|
||||||
|
# })
|
||||||
|
];
|
||||||
|
# Configure your nixpkgs instance
|
||||||
|
config = {
|
||||||
|
# Disable if you don't want unfree packages
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# build home-manager with nixos-rebuild and not home-manager command
|
||||||
|
home-manager = {
|
||||||
|
extraSpecialArgs = { inherit inputs; };
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
users = {
|
||||||
|
EXAMPLE = import ../../../home/EXAMPLE/EXAMPLE/${hostname}.nix; # FIXME
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = hostname;
|
||||||
|
|
||||||
|
# This setups a SSH server. Very important if you're setting up a headless system.
|
||||||
|
# Feel free to remove if you don't need it.
|
||||||
|
#Unused, keeping for later reference
|
||||||
|
services.openssh = {
|
||||||
|
enable = false;
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
|
#system.stateVersion = "25.11"; #FIXME, should be fine to change on a fresh install
|
||||||
|
}
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+3
-13
@@ -7,22 +7,12 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
imports = [
|
||||||
|
./users/minecraft.nix
|
||||||
|
];
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 25565 25567 ];
|
allowedTCPPorts = [ 25565 25567 ];
|
||||||
allowedUDPPorts = [ 25565 25567];
|
allowedUDPPorts = [ 25565 25567];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
pkgs.jdk21
|
|
||||||
];
|
|
||||||
|
|
||||||
users.users = {
|
|
||||||
minecraft = {
|
|
||||||
isNormalUser = true;
|
|
||||||
shell = pkgs.bashInteractive;
|
|
||||||
openssh.authorizedKeys.keys = [
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
username = "minecraft"; #FIXME
|
||||||
|
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||||
|
in {
|
||||||
|
users.users.${username} = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = ifTheyExist [
|
||||||
|
"minecraft"
|
||||||
|
];
|
||||||
|
|
||||||
|
#packages = [pkgs.home-manager];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
home-manager.users.${username} = import ../../../../../home/Winter/servers/${username}.nix;
|
||||||
|
|
||||||
|
security.pam.services = {
|
||||||
|
swaylock = {};
|
||||||
|
${username}.enableGnomeKeyring = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
+1
-1
@@ -20,7 +20,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
+1
-1
@@ -16,7 +16,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
+1
-1
@@ -31,7 +31,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
home-manager.users.${username} = import ../../../../home/${username}/${config.networking.hostName}.nix;
|
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
security.pam.services = {
|
security.pam.services = {
|
||||||
swaylock = {};
|
swaylock = {};
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
username = ""; #FIXME
|
||||||
|
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||||
|
in {
|
||||||
|
users.users.${username} = {
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = ifTheyExist [
|
||||||
|
"audio"
|
||||||
|
"deluge"
|
||||||
|
"docker"
|
||||||
|
"git"
|
||||||
|
"i2c"
|
||||||
|
"libvirtd"
|
||||||
|
"minecraft"
|
||||||
|
"mysql"
|
||||||
|
"wpa_supplicant"
|
||||||
|
"plugdev"
|
||||||
|
"podman"
|
||||||
|
"tss"
|
||||||
|
"video"
|
||||||
|
"wheel"
|
||||||
|
"wireshark"
|
||||||
|
];
|
||||||
|
|
||||||
|
#packages = [pkgs.home-manager];
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
home-manager.users.${username} = import ../../../../../home/Winter/${username}/${config.networking.hostName}.nix;
|
||||||
|
|
||||||
|
security.pam.services = {
|
||||||
|
swaylock = {};
|
||||||
|
${username}.enableGnomeKeyring = true; #FIXME
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user