Stuff
This commit is contained in:
8
flake.lock
generated
8
flake.lock
generated
@@ -45,16 +45,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713995372,
|
"lastModified": 1771574726,
|
||||||
"narHash": "sha256-fFE3M0vCoiSwCX02z8VF58jXFRj9enYUSTqjyHAjrds=",
|
"narHash": "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "dd37924974b9202f8226ed5d74a252a9785aedf8",
|
"rev": "c217913993d6c6f6805c3b1a3bda5e639adfde6d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-23.11",
|
"ref": "nixos-25.11",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
16
flake.nix
16
flake.nix
@@ -2,7 +2,7 @@
|
|||||||
description = "Stationette nix config";
|
description = "Stationette nix config";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
home-manager.url = "github:nix-community/home-manager/release-23.11";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@@ -36,13 +36,13 @@
|
|||||||
stationette = nixpkgs.lib.nixosSystem {
|
stationette = nixpkgs.lib.nixosSystem {
|
||||||
modules = [
|
modules = [
|
||||||
./system/configuration.nix
|
./system/configuration.nix
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager.users.chris = import ./home;
|
home-manager.users.chris = import ./home;
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit pkgs-unstable;
|
inherit pkgs-unstable;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"electron-25.9.0" # Obsidian
|
"electron-25.9.0" # Obsidian
|
||||||
|
"beekeeper-studio-5.3.4"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -17,28 +17,27 @@
|
|||||||
obsidian
|
obsidian
|
||||||
thunderbird
|
thunderbird
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
nerd-fonts.fira-code
|
# pkgs-unstable.nerd-fonts.fira-code
|
||||||
hunspell
|
hunspell
|
||||||
blueberry
|
blueberry
|
||||||
steam
|
steam
|
||||||
steam-run
|
steam-run
|
||||||
yuzu-mainline
|
|
||||||
viewnior
|
viewnior
|
||||||
pkgs-unstable.hyprshot
|
pkgs-unstable.hyprshot
|
||||||
catppuccin-cursors.macchiatoBlue
|
catppuccin-cursors.macchiatoBlue
|
||||||
catppuccin-gtk
|
catppuccin-gtk
|
||||||
papirus-folders
|
papirus-folders
|
||||||
php84Packages.composer
|
# pkgs-unstable.php84Packages.composer
|
||||||
php84Packages.xdebug
|
# pkgs-unstable.php84Packages.xdebug
|
||||||
php84Extensions.sqlite3
|
# pkgs-unstable.php84Extensions.sqlite3
|
||||||
php84Extensions.redis
|
# pkgs-unstable.php84Extensions.redis
|
||||||
php84Extensions.sodium
|
# pkgs-unstable.php84Extensions.sodium
|
||||||
php84Extensions.pgsql
|
# pkgs-unstable.php84Extensions.pgsql
|
||||||
php84Extensions.iconv
|
# pkgs-unstable.php84Extensions.iconv
|
||||||
php84Extensions.gd
|
# pkgs-unstable.php84Extensions.gd
|
||||||
php84Extensions.zip
|
# pkgs-unstable.php84Extensions.zip
|
||||||
php
|
php
|
||||||
antigravity
|
# antigravity
|
||||||
gimp
|
gimp
|
||||||
kdePackages.dolphin
|
kdePackages.dolphin
|
||||||
enpass
|
enpass
|
||||||
@@ -57,7 +56,6 @@
|
|||||||
zathura
|
zathura
|
||||||
ghostty
|
ghostty
|
||||||
wally-cli
|
wally-cli
|
||||||
youtube-dl
|
|
||||||
kdePackages.wacomtablet
|
kdePackages.wacomtablet
|
||||||
kdePackages.print-manager
|
kdePackages.print-manager
|
||||||
mpv
|
mpv
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
lock-false = {
|
lock-false = {
|
||||||
@@ -69,62 +69,62 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
/* ---- PROFILES ---- */
|
/* ---- PROFILES ---- */
|
||||||
# Switch profiles via about:profiles page.
|
# Switch profiles via about:profiles page.
|
||||||
# For options that are available in Home-Manager see
|
# For options that are available in Home-Manager see
|
||||||
# https://nix-community.github.io/home-manager/options.html#opt-programs.firefox.profiles
|
# https://nix-community.github.io/home-manager/options.html#opt-programs.firefox.profiles
|
||||||
profiles ={
|
profiles ={
|
||||||
chris = { # choose a profile name; directory is /home/<user>/.mozilla/firefox/chris
|
chris = { # choose a profile name; directory is /home/<user>/.mozilla/firefox/chris
|
||||||
id = 0; # 0 is the default profile; see also option "isDefault"
|
id = 0; # 0 is the default profile; see also option "isDefault"
|
||||||
name = "chris"; # name as listed in about:profiles
|
name = "chris"; # name as listed in about:profiles
|
||||||
isDefault = true; # can be omitted; true if profile ID is 0
|
isDefault = true; # can be omitted; true if profile ID is 0
|
||||||
settings = { # specify profile-specific preferences here; check about:config for options
|
settings = { # specify profile-specific preferences here; check about:config for options
|
||||||
"browser.startup.homepage" = "https://tower.scarif.space";
|
"browser.startup.homepage" = "https://tower.scarif.space";
|
||||||
# "browser.newtabpage.pinned" = [{
|
# "browser.newtabpage.pinned" = [{
|
||||||
# title = "NixOS";
|
# title = "NixOS";
|
||||||
# url = "https://nixos.org";
|
# url = "https://nixos.org";
|
||||||
# }];
|
# }];
|
||||||
};
|
};
|
||||||
search = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
default = "holocron";
|
default = "holocron";
|
||||||
engines = {
|
engines = {
|
||||||
holocron = {
|
holocron = {
|
||||||
name = "Holocron";
|
name = "Holocron";
|
||||||
urls = [{
|
urls = [{
|
||||||
template = "https://holocron.scarif.space/search";
|
template = "https://holocron.scarif.space/search";
|
||||||
params = [
|
params = [
|
||||||
{ name = "q"; value = "{searchTerms}"; }
|
{ name = "q"; value = "{searchTerms}"; }
|
||||||
];
|
];
|
||||||
}];
|
}];
|
||||||
iconUpdateURL = "https://holocron.scarif.space/static/themes/simple/img/favicon.png";
|
iconUpdateURL = "https://holocron.scarif.space/static/themes/simple/img/favicon.png";
|
||||||
definedAliases = [ "@h" ]; # Allows you to type '@s query' in the URL bar
|
definedAliases = [ "@h" ]; # Allows you to type '@s query' in the URL bar
|
||||||
|
};
|
||||||
|
nix-packages = {
|
||||||
|
name = "Nix Packages";
|
||||||
|
urls = [{
|
||||||
|
template = "https://search.nixos.org/packages";
|
||||||
|
params = [
|
||||||
|
{ name = "type"; value = "packages"; }
|
||||||
|
{ name = "query"; value = "{searchTerms}"; }
|
||||||
|
];
|
||||||
|
}];
|
||||||
|
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
definedAliases = [ "@np" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
nixos-wiki = {
|
||||||
|
name = "NixOS Wiki";
|
||||||
|
urls = [{ template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; }];
|
||||||
|
iconMapObj."16" = "https://wiki.nixos.org/favicon.ico";
|
||||||
|
definedAliases = [ "@nw" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
bing.metaData.hidden = true;
|
||||||
|
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
||||||
};
|
};
|
||||||
nix-packages = {
|
|
||||||
name = "Nix Packages";
|
|
||||||
urls = [{
|
|
||||||
template = "https://search.nixos.org/packages";
|
|
||||||
params = [
|
|
||||||
{ name = "type"; value = "packages"; }
|
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
|
||||||
];
|
|
||||||
}];
|
|
||||||
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
|
||||||
definedAliases = [ "@np" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
nixos-wiki = {
|
|
||||||
name = "NixOS Wiki";
|
|
||||||
urls = [{ template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; }];
|
|
||||||
iconMapObj."16" = "https://wiki.nixos.org/favicon.ico";
|
|
||||||
definedAliases = [ "@nw" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
bing.metaData.hidden = true;
|
|
||||||
google.metaData.alias = "@g"; # builtin engines only support specifying one additional alias
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
|
||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -9,15 +9,15 @@
|
|||||||
after = [ "graphical-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 1;
|
RestartSec = 1;
|
||||||
TimeoutStopSec = 10;
|
TimeoutStopSec = 10;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
DefaulTimeoutStopSec=10s
|
# DefaulTimeoutStopSec=10s
|
||||||
'';
|
# '';
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
sound.enable = true;
|
# sound.enable = true;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
qemu = {
|
qemu = {
|
||||||
swtpm.enable = true;
|
swtpm.enable = true;
|
||||||
ovmf.enable = true;
|
|
||||||
# ovmf.packages = [ pkgs.OVMFFULL.fd ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user